Compare commits

...

2 Commits

Author SHA1 Message Date
6839ee7de3 feat(user): 新增用户积分字段
- SystemUsers 实体添加 points 字段及注解
- SystemUsersVO 视图对象同步 points 字段
- 生产环境配置切换为线上数据库地址
2026-03-02 16:14:23 +08:00
e75fae2ad7 fix(auth): 调整放行路径并补充租户筛选条件 2026-02-24 19:19:49 +08:00
5 changed files with 12 additions and 5 deletions

View File

@@ -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",
};
}

View File

@@ -195,4 +195,8 @@ public class SystemUsers {
@TableField(value = "web_ai")
@ApiModelProperty(value = "能否登录智能回复客户端")
private Byte webAi;
@TableField(value = "points")
@ApiModelProperty(value = "用户积分")
private Integer points;
}

View File

@@ -50,4 +50,5 @@ public class SystemUsersVO {
private Byte webAi;
private Integer points;
}

View File

@@ -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);
}

View File

@@ -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