fix: 遴选数据库配置修改

developVue
wx-jincw 2 months ago
parent 52bd2a4ede
commit cf3e0590b3

@ -1,3 +1,3 @@
# bs-jxc # tobacco
保税进销存 烟草

@ -6,9 +6,12 @@ spring:
druid: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:mysql://localhost:3306/bs-jxc-dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true url: jdbc:mysql://124.71.134.146:63306/tobacco?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
username: root username: root
password: abcd123 password: fastrise@chain
#url: jdbc:mysql://124.71.134.146:3306/my-base?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
#username: root
#password: abcd123
# 从库数据源 # 从库数据源
slave: slave:
# 从数据源开关/默认关闭 # 从数据源开关/默认关闭
@ -59,3 +62,7 @@ spring:
wall: wall:
config: config:
multi-statement-allow: true multi-statement-allow: true
bs:
tenant:
#开启租户
openTenant: true

Loading…
Cancel
Save