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