feat(user): 新增用户积分字段

- SystemUsers 实体添加 points 字段及注解
- SystemUsersVO 视图对象同步 points 字段
- 生产环境配置切换为线上数据库地址
This commit is contained in:
2026-03-02 16:14:23 +08:00
parent e75fae2ad7
commit 6839ee7de3
3 changed files with 8 additions and 3 deletions

View File

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

View File

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

View File

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