misc-server-dev.yml 2.7 KB

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