Ver código fonte

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

sinosoft 4 anos atrás
pai
commit
144bb77bf3
1 arquivos alterados com 83 adições e 21 exclusões
  1. 83 21
      config-repo/zuul-server-dev.yml

+ 83 - 21
config-repo/zuul-server-dev.yml

@@ -6,24 +6,51 @@ spring:
       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)
-
-#mybatis plus
+    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
+    username: 875160176@qq.com
+    password: dzkwtwqzwyvubchj
+    properties:
+      mail:
+        smtp:
+          auth: true
+        starttls:
+          enable: true
+  thymeleaf:
+    prefix: classpath:/templates/
+    suffix: .html
+    mode: LEGACYHTML5
+    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.*.po
+  typeAliasesPackage: ins.platform.po
   #typeEnumsPackage: com.baomidou.springboot.entity.enums
   global-config:
     # 数据库相关配置
@@ -42,13 +69,48 @@ mybatis-plus:
       db-type: h2
     #刷新mapper 调试神器
     refresh: true
-  # 原生配置
-  configuration:
-    map-underscore-to-camel-case: true
-    cache-enabled: false
+
+#工作流
+bpm:
+  rule: WorkOrderNodeRule
+server:
+  port: 18020
+
+address:
+  record: /home/record/
+
 saa:
   power: false
   basePackage: ins/**/po
 
-zuul:
-  forceOriginalQueryStringEncoding: true
+#aodFeed:
+#  base-url: http://172.42.3.34:9001
+#  token: abc
+
+logging:
+  level: debug
+
+#短信配置
+sms:
+  accessKeyId: LTAIdhCtJteymPnw
+  accessSecret: zu2iYaMLOm1eargpedNBK0fPqH8FHI
+  signName: 中科软系统
+
+ai:
+  dial-url: http://192.168.1.204:18000/
+
+apiins:
+  url: https://wxpb-dev.apiins.com/VideoWorld/
+
+aliyun:
+  accessKeyId: LTAISlLOUGCNgGtD
+  accessKeySecret: NyscWsibawLaXuH5o4QTLuCKbDHbwV
+  appKey: 5z7dO0rKuC7unIh7
+
+#外网获取手机归属
+ascription:
+  url: http://api.online-service.vip/phone
+
+#内外网标识#true为内网#false为外网
+network:
+  intranet: true