weixin-server-dev.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. logging:
  2. level:
  3. org.springframework.web: INFO
  4. com.github.binarywang.demo.wx.mp: DEBUG
  5. me.chanjar.weixin: DEBUG
  6. wechat:
  7. open:
  8. componentAppId: wxebb6d40071dc817e
  9. componentSecret: fb87e72522d3af0e1acd18fdc21522a3
  10. componentToken: A_TOKEN
  11. componentAesKey: lr3dxCbG0Clep5zo9F2wZ7owkjOaDBr76lmlGSRhLio
  12. redis: #redis 配置
  13. database: 0
  14. password: Cs123456
  15. host: 172.16.88.235
  16. port: 6379
  17. #spring
  18. spring:
  19. devtools:
  20. restart:
  21. enabled: false
  22. rabbitmq:
  23. host: 192.168.1.210
  24. port: 5672
  25. username: guest
  26. password: guest
  27. datasource:
  28. dynamic:
  29. primary: master
  30. datasource:
  31. master:
  32. url: jdbc:mysql://172.16.88.234:3306/callcenterdb3.0?useUnicode=true&characterEncoding=utf-8
  33. username: root
  34. password: admin01
  35. max-idle: 10
  36. max-wait: 10000
  37. min-idle: 5
  38. initial-size: 5
  39. validation-query: SELECT 1
  40. test-on-borrow: false
  41. test-while-idle: true
  42. time-between-eviction-runs-millis: 18800
  43. driver-class-name: com.mysql.jdbc.Driver
  44. jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
  45. autoconfigure:
  46. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  47. hikari:
  48. max-lifetime: 1765000
  49. maximum-pool-size: 15
  50. auto-commit: true
  51. connection-test-query: select 1
  52. #mybatis-plus
  53. mybatis-plus:
  54. mapper-locations: classpath*:/mapper/**/*.xml
  55. #实体扫描,多个package用逗号或者分号分隔
  56. typeAliasesPackage: ins.platform.*.po
  57. #typeEnumsPackage: com.baomidou.springboot.entity.enums
  58. global-config:
  59. # 数据库相关配置
  60. db-config:
  61. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  62. id-type: id_worker
  63. #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
  64. field-strategy: not_empty
  65. #驼峰下划线转换
  66. column-underline: true
  67. #数据库大写下划线转换
  68. #capital-mode: true
  69. #逻辑删除配置
  70. logic-delete-value: 0
  71. logic-not-delete-value: 1
  72. db-type: h2
  73. #刷新mapper 调试神器
  74. refresh: true
  75. # 原生配置
  76. configuration:
  77. map-underscore-to-camel-case: true
  78. cache-enabled: false
  79. saa:
  80. power: false
  81. basePackage: ins/**/po
  82. im:
  83. satis: 192.168.1.210:9001
  84. # 文本机器人相关信息
  85. easemob:
  86. username: 18792805407@163.com
  87. password: qq123321
  88. url: http://robot.easemob.com
  89. tenantId: 57209
  90. robotId: f2c94f4b-8565-4023-848c-ac1370dc5bc2
  91. webPage:
  92. appId: c80a0c4b7c344fba8d91958399266b28