zuul-server-dev.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. spring:
  2. sleuth:
  3. sampler:
  4. percentage: 1.0
  5. hystrix:
  6. strategy:
  7. enabled: false
  8. datasource:
  9. dynamic:
  10. primary: master
  11. datasource:
  12. master:
  13. #url: jdbc:mysql://172.18.74.114:3306/callcenterdb2.0?useUnicode=true&serverTimezone=GMT&useSSL=false&characterEncoding=utf-8
  14. url: jdbc:mysql://172.18.74.114:3306/callcenterdb2.0?useUnicode=true
  15. username: root
  16. password: admin01
  17. max-idle: 10
  18. max-wait: 10000
  19. min-idle: 5
  20. initial-size: 5
  21. validation-query: SELECT 1
  22. test-on-borrow: false
  23. test-while-idle: true
  24. time-between-eviction-runs-millis: 18800
  25. jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
  26. mail:
  27. host: smtp.qq.com
  28. port: 587
  29. username: 875160176@qq.com
  30. password: dzkwtwqzwyvubchj
  31. properties:
  32. mail:
  33. smtp:
  34. auth: true
  35. starttls:
  36. enable: true
  37. thymeleaf:
  38. prefix: classpath:/templates/
  39. suffix: .html
  40. mode: LEGACYHTML5
  41. encoding: UTF-8
  42. content-type: text/html
  43. cache: false
  44. autoconfigure:
  45. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  46. #mybatis-plus
  47. mybatis-plus:
  48. configuration:
  49. cache-enabled: true
  50. mapper-locations: classpath*:/mapper/**/*.xml
  51. #实体扫描,多个package用逗号或者分号分隔
  52. typeAliasesPackage: ins.platform.po
  53. #typeEnumsPackage: com.baomidou.springboot.entity.enums
  54. global-config:
  55. # 数据库相关配置
  56. db-config:
  57. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  58. id-type: id_worker
  59. #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
  60. field-strategy: not_empty
  61. #驼峰下划线转换
  62. column-underline: true
  63. #数据库大写下划线转换
  64. #capital-mode: true
  65. #逻辑删除配置
  66. logic-delete-value: 0
  67. logic-not-delete-value: 1
  68. db-type: h2
  69. #刷新mapper 调试神器
  70. refresh: true
  71. #工作流
  72. bpm:
  73. rule: WorkOrderNodeRule
  74. server:
  75. port: 18020
  76. address:
  77. record: /home/record/
  78. saa:
  79. power: false
  80. basePackage: ins/**/po
  81. #aodFeed:
  82. # base-url: http://172.42.3.34:9001
  83. # token: abc
  84. logging:
  85. level: debug
  86. #短信配置
  87. sms:
  88. accessKeyId: LTAIdhCtJteymPnw
  89. accessSecret: zu2iYaMLOm1eargpedNBK0fPqH8FHI
  90. signName: 中科软系统
  91. ai:
  92. dial-url: http://192.168.1.204:18000/
  93. apiins:
  94. url: https://wxpb-dev.apiins.com/VideoWorld/
  95. aliyun:
  96. accessKeyId: LTAISlLOUGCNgGtD
  97. accessKeySecret: NyscWsibawLaXuH5o4QTLuCKbDHbwV
  98. appKey: 5z7dO0rKuC7unIh7
  99. #外网获取手机归属
  100. ascription:
  101. url: http://api.online-service.vip/phone
  102. #内外网标识#true为内网#false为外网
  103. network:
  104. intranet: true