区分正式与测试配置修改

This commit is contained in:
2025-06-30 16:48:50 +08:00
parent f059c64d0e
commit af7cc98d77
16 changed files with 575 additions and 146 deletions

View File

@ -21,7 +21,7 @@ spring:
server-addr: 127.0.0.1:8848
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://1.95.153.121:3306/user_center_db?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
url: jdbc:mysql://1.95.170.86:3306/user_center_db?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
username: user_center_db
password: zzkj@688737
druid:
@ -38,21 +38,9 @@ spring:
redis:
port: 6379 #端口
timeout: 3000ms #连接超时
host: 1.95.153.121 #单机
password: zzkj@688737
host: 1.95.170.86 #单机
password: 123456
database: 0
#port: 6379 #端口
#timeout: 5000ms #连接超时
#host: 127.0.0.1 #单机
#password:
#database: 0
#集群 真实环境开启
# cluster:
# nodes:
# - 127.0.0.1:6379
# - 127.0.0.1:6380
# - 127.0.0.1:6381
lettuce:
pool:
max-active: 8 #连接池最大连接 默认8