|
@@ -0,0 +1,93 @@
|
|
|
+spring:
|
|
|
+ sleuth:
|
|
|
+ sampler:
|
|
|
+ percentage: 1.0
|
|
|
+ hystrix:
|
|
|
+ strategy:
|
|
|
+ enabled: false
|
|
|
+ datasource:
|
|
|
+ dynamic:
|
|
|
+ primary: master
|
|
|
+ datasource:
|
|
|
+ master:
|
|
|
+ url: jdbc:mysql://120.24.207.66:3306/callcenterdb3.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
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
|
+ jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
|
|
|
+ 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
|
|
|
+ #typeEnumsPackage: com.baomidou.springboot.entity.enums
|
|
|
+ global-config:
|
|
|
+ # 数据库相关配置
|
|
|
+ db-config:
|
|
|
+ #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
|
|
|
+ id-type: id_worker
|
|
|
+ #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
|
|
|
+ field-strategy: not_empty
|
|
|
+ #驼峰下划线转换
|
|
|
+ column-underline: true
|
|
|
+ #数据库大写下划线转换
|
|
|
+ #capital-mode: true
|
|
|
+ #逻辑删除配置
|
|
|
+ logic-delete-value: 0
|
|
|
+ logic-not-delete-value: 1
|
|
|
+ db-type: h2
|
|
|
+ #刷新mapper 调试神器
|
|
|
+ refresh: true
|
|
|
+ #过滤多租户tenant_id条件
|
|
|
+ sql-parser-cache: true
|
|
|
+
|
|
|
+server:
|
|
|
+ port: 18070
|
|
|
+
|
|
|
+address:
|
|
|
+ record: /home/record/
|
|
|
+
|
|
|
+saa:
|
|
|
+ power: false
|
|
|
+ basePackage: ins/**/po
|
|
|
+
|
|
|
+#内外网标识#true为内网#false为外网
|
|
|
+network:
|
|
|
+ intranet: true
|
|
|
+
|
|
|
+logging:
|
|
|
+ level: debug
|
|
|
+
|
|
|
+ai:
|
|
|
+ dial-url: http://192.168.1.204:18000/
|
|
|
+
|
|
|
+apiins:
|
|
|
+ url: https://wxpb-dev.apiins.com/VideoWorld/
|
|
|
+ serviceUrl: http://112.95.154.98:8611/oms_tm/smsSend.service
|
|
|
+
|
|
|
+aliyun:
|
|
|
+ accessKeyId: LTAIdhCtJteymPnw
|
|
|
+ accessKeySecret: zu2iYaMLOm1eargpedNBK0fPqH8FHI
|
|
|
+ appKey: r4IZZr254QulNKSP
|
|
|
+ addressKey: 68kaknufjr4a
|
|
|
+
|
|
|
+#外网获取手机归属
|
|
|
+ascription:
|
|
|
+ url: http://api.online-service.vip/phone
|
|
|
+
|
|
|
+# 高德地图appKey
|
|
|
+amap:
|
|
|
+ key: ff4903d14da58237962cfa1406061d37
|