Compare commits
2 Commits
edd78aa0ca
...
6839ee7de3
| Author | SHA1 | Date | |
|---|---|---|---|
| 6839ee7de3 | |||
| e75fae2ad7 |
@@ -51,6 +51,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
|||||||
"/user/aiChat-doLogin",
|
"/user/aiChat-doLogin",
|
||||||
"/user/aiChat-logout",
|
"/user/aiChat-logout",
|
||||||
"/user/webAi-doLogin",
|
"/user/webAi-doLogin",
|
||||||
|
"/common/notice",
|
||||||
"/error",
|
"/error",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -195,4 +195,8 @@ public class SystemUsers {
|
|||||||
@TableField(value = "web_ai")
|
@TableField(value = "web_ai")
|
||||||
@ApiModelProperty(value = "能否登录智能回复客户端")
|
@ApiModelProperty(value = "能否登录智能回复客户端")
|
||||||
private Byte webAi;
|
private Byte webAi;
|
||||||
|
|
||||||
|
@TableField(value = "points")
|
||||||
|
@ApiModelProperty(value = "用户积分")
|
||||||
|
private Integer points;
|
||||||
}
|
}
|
||||||
@@ -50,4 +50,5 @@ public class SystemUsersVO {
|
|||||||
|
|
||||||
private Byte webAi;
|
private Byte webAi;
|
||||||
|
|
||||||
|
private Integer points;
|
||||||
}
|
}
|
||||||
@@ -18,7 +18,8 @@ public class SystemNoticeServiceImpl extends ServiceImpl<SystemNoticeMapper, Sys
|
|||||||
@Override
|
@Override
|
||||||
public List<SystemNotice> getActiveNoticeList() {
|
public List<SystemNotice> getActiveNoticeList() {
|
||||||
LambdaQueryWrapper<SystemNotice> queryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<SystemNotice> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
queryWrapper.eq(SystemNotice::getStatus, 0);
|
queryWrapper.eq(SystemNotice::getStatus, 0)
|
||||||
|
.eq(SystemNotice::getTenantId, 1);
|
||||||
return this.list(queryWrapper);
|
return this.list(queryWrapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,19 +8,19 @@ spring:
|
|||||||
# todo 需替换配置
|
# todo 需替换配置
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://localhost:3326/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
|
url: jdbc:mysql://47.79.98.113:3326/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
|
||||||
username: root
|
username: root
|
||||||
password: wfn53400
|
password: wfn53400
|
||||||
# Redis 配置
|
# Redis 配置
|
||||||
# todo 需替换配置
|
# todo 需替换配置
|
||||||
redis:
|
redis:
|
||||||
database: 1
|
database: 1
|
||||||
host: localhost
|
host: 47.79.98.113
|
||||||
port: 16379
|
port: 16379
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
password: ezyPM2UQkPO8O6i8s9
|
password: ezyPM2UQkPO8O6i8s9
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
host: localhost
|
host: 47.79.98.113
|
||||||
port: 5672
|
port: 5672
|
||||||
username: tkdata
|
username: tkdata
|
||||||
password: 6rARaRj8Z7UG3ahLzh
|
password: 6rARaRj8Z7UG3ahLzh
|
||||||
|
|||||||
Reference in New Issue
Block a user