fix(config): 更新开发环境数据库和Redis配置

- 将数据库连接地址从 8.134.169.209 更新为 47.119.165.234
- 将 Redis 主机地址从 8.134.169.209 更新为 47.119.165.234
- 修改 UserMapper 查询条件,使用 is_default 替代 template_id 进行过滤
This commit is contained in:
2025-12-12 12:45:46 +08:00
parent 1d98f6eac3
commit 7081eec0b9
2 changed files with 3 additions and 3 deletions

View File

@@ -315,7 +315,7 @@
FROM sys_user a
<where>
AND a.phone = #{param.phone}
AND a.template_id = #{param.templateId}
AND a.is_default = 1
AND a.is_admin = 1
AND a.deleted = 0
LIMIT 1

View File

@@ -5,14 +5,14 @@ spring:
main:
allow-circular-references: true
datasource:
url: jdbc:mysql://8.134.169.209:13306/gxwebsoft_core?useSSL=false&serverTimezone=UTC
url: jdbc:mysql://47.119.165.234:13308/gxwebsoft_core?useSSL=false&serverTimezone=UTC
username: gxwebsoft_core
password: jdj7HYEdYHnYEFBy
driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
redis:
database: 0
host: 8.134.169.209
host: 47.119.165.234
port: 16379
password: redis_WSDb88