refactor: 配置文件修改

This commit is contained in:
Kelvin 2024-12-12 11:28:03 +08:00
parent ffb885d0aa
commit 3029b48259
2 changed files with 10 additions and 10 deletions

View File

@ -6,9 +6,9 @@ spring:
# 主库数据源
dm:
driverClassName: dm.jdbc.driver.DmDriver
url: jdbc:dm://8.218.31.53:7069/WMS_DJ?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:dm://192.168.8.60:5236/WMS_DJ?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: SYSDBA
password: SYSDBA001
password: SYSDBA
# 初始连接数
initialSize: 5
# 最小连接池数量
@ -78,13 +78,13 @@ spring:
# redis 配置
redis:
# 地址
host: 8.218.31.53
host: 192.168.8.60
# 端口默认为6379
port: 7067
port: 6379
# 数据库索引
database: 2
# 密码
password: redis_HtWAZW
password: 123456
# 连接超时时间
timeout: 10s
lettuce:
@ -100,7 +100,7 @@ spring:
#Mino配置
minio:
url: http://8.218.31.53:7068
url: http://192.168.8.60:9000
accessKey: seBsDKT7Ss8B4aGiNiNn
secretKey: IYvTR63NZE3EemLfIHGTXu72O7svMEiNHG2OoOWI
bucketName: wms-dj

View File

@ -6,7 +6,7 @@ spring:
# 主库数据源
dm:
driverClassName: dm.jdbc.driver.DmDriver
url: jdbc:dm://8.218.31.53:7069/WMS_DJ?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:dm://abca.xin:7069/WMS_DJ?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: SYSDBA
password: SYSDBA001
# 初始连接数
@ -33,7 +33,7 @@ spring:
# 从数据源开关/默认关闭
enabled: true
driverClassName: net.sourceforge.jtds.jdbc.Driver
url: jdbc:jtds:sqlserver://192.168.8.68:1433/DPG_RH_YQ_20240711
url: jdbc:jtds:sqlserver://abca.xin:7070/DPG_RH_YQ_20240711
username: sa
password: rh123456
# 初始连接数
@ -78,7 +78,7 @@ spring:
# redis 配置
redis:
# 地址
host: 8.218.31.53
host: abca.xin
# 端口默认为6379
port: 7067
# 数据库索引
@ -100,7 +100,7 @@ spring:
#Mino配置
minio:
url: http://8.218.31.53:7068
url: http://abca.xin:7068
accessKey: seBsDKT7Ss8B4aGiNiNn
secretKey: IYvTR63NZE3EemLfIHGTXu72O7svMEiNHG2OoOWI
bucketName: wms-dj