diff --git a/src/main/java/com/yupi/springbootinit/model/entity/SystemUsers.java b/src/main/java/com/yupi/springbootinit/model/entity/SystemUsers.java index 4433bee..9478f06 100644 --- a/src/main/java/com/yupi/springbootinit/model/entity/SystemUsers.java +++ b/src/main/java/com/yupi/springbootinit/model/entity/SystemUsers.java @@ -195,4 +195,8 @@ public class SystemUsers { @TableField(value = "web_ai") @ApiModelProperty(value = "能否登录智能回复客户端") private Byte webAi; + + @TableField(value = "points") + @ApiModelProperty(value = "用户积分") + private Integer points; } \ No newline at end of file diff --git a/src/main/java/com/yupi/springbootinit/model/vo/user/SystemUsersVO.java b/src/main/java/com/yupi/springbootinit/model/vo/user/SystemUsersVO.java index 4237d2b..13ca75c 100644 --- a/src/main/java/com/yupi/springbootinit/model/vo/user/SystemUsersVO.java +++ b/src/main/java/com/yupi/springbootinit/model/vo/user/SystemUsersVO.java @@ -50,4 +50,5 @@ public class SystemUsersVO { private Byte webAi; + private Integer points; } \ No newline at end of file diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 05e599b..773ebf3 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -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