Sfoglia il codice sorgente

更新 'config-repo/misc-server-dev.yml'

sinosoft 4 anni fa
parent
commit
f64608fd56
1 ha cambiato i file con 32 aggiunte e 24 eliminazioni
  1. 32 24
      config-repo/misc-server-dev.yml

+ 32 - 24
config-repo/misc-server-dev.yml

@@ -2,22 +2,27 @@ spring:
   sleuth:
     sampler:
       percentage: 1.0
-    hystrix: 
-      strategy: 
-        enabled: false    
+    hystrix:
+      strategy:
+        enabled: false
   datasource:
-    url: jdbc:mysql://172.18.74.114:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
-    username: root
-    password: admin01
-    max-idle: 10
-    max-wait: 10000
-    min-idle: 5
-    initial-size: 5
-    validation-query: SELECT 1
-    test-on-borrow: false
-    test-while-idle: true
-    time-between-eviction-runs-millis: 18800
-    jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
+    dynamic:
+      primary: master
+      datasource:
+        master:
+          url: jdbc:mysql://172.18.74.114:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
+          username: root
+          password: admin01
+          max-idle: 10
+          max-wait: 10000
+          min-idle: 5
+          initial-size: 5
+          validation-query: SELECT 1
+          test-on-borrow: false
+          test-while-idle: true
+          time-between-eviction-runs-millis: 18800
+          jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
+
   mail:
     host: smtp.qq.com
     port: 587
@@ -36,9 +41,13 @@ spring:
     encoding: UTF-8
     content-type: text/html
     cache: false
+  autoconfigure:
+    exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
 
 #mybatis-plus
 mybatis-plus:
+  configuration:
+    cache-enabled: true
   mapper-locations: classpath*:/mapper/**/*.xml
   #实体扫描,多个package用逗号或者分号分隔
   typeAliasesPackage: ins.platform.po
@@ -68,7 +77,7 @@ server:
   port: 18020
 
 address:
-  record: D:\share\
+  record: /home/record/
 
 saa:
   power: false
@@ -86,19 +95,18 @@ sms:
   accessKeyId: LTAIdhCtJteymPnw
   accessSecret: zu2iYaMLOm1eargpedNBK0fPqH8FHI
   signName: 中科软系统
-  
+
 ai:
-  dial-url: http://172.18.74.115:18000/
-  
+  dial-url: http://192.168.1.204:18000/
+
+apiins:
+  url: https://wxpb-dev.apiins.com/VideoWorld/
+
 aliyun:
   accessKeyId: LTAISlLOUGCNgGtD
   accessKeySecret: NyscWsibawLaXuH5o4QTLuCKbDHbwV
   appKey: 5z7dO0rKuC7unIh7
-  
-#亚太接口地址
-apiins:
-  url: https://wxpb-dev.apiins.com/VideoWorld/
-  
+
 #外网获取手机归属
 ascription:
   url: http://api.online-service.vip/phone