sgw 6 days ago
parent
commit
8e26fde126
1 changed files with 3 additions and 5 deletions
  1. 3 5
      fs-service/src/main/resources/application-druid-sxjz.yml

+ 3 - 5
fs-service/src/main/resources/application-druid-sxjz.yml

@@ -44,11 +44,9 @@ spring:
                     password: Sxdtcbm@#+!2025
                 # 从库数据源
                 slave:
-                    # 从数据源开关/默认关闭
-                    enabled: false
-                    url:
-                    username:
-                    password:
+                    url: jdbc:mysql://139.155.247.58:2345/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                    username: root
+                    password: Sxdtcbm@#+!2025
                 # 初始连接数
                 initialSize: 5
                 # 最小连接池数量