weixin-server-dev.yml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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.18.74.115
  16. port: 6379
  17. #spring
  18. spring:
  19. devtools:
  20. restart:
  21. enabled: false
  22. rabbitmq:
  23. host: 172.18.74.115
  24. port: 5672
  25. username: guest
  26. password: guest
  27. datasource:
  28. #指定自定义连接池
  29. type: com.zaxxer.hikari.HikariDataSource
  30. #指定数据库连接信息
  31. driver-class-name: com.mysql.jdbc.Driver
  32. #url: jdbc:mysql://sinosoft.vicp.io:11262/hmbst?useUnicode=true&characterEncoding=utf-8&useSSL=false
  33. #username: root
  34. #password: admin01
  35. url: jdbc:mysql://172.18.74.114:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
  36. username: root
  37. password: admin01
  38. platform: mysql
  39. hikari:
  40. max-lifetime: 1765000
  41. maximum-pool-size: 15
  42. auto-commit: true
  43. connection-test-query: select 1
  44. #mybatis-plus
  45. mybatis-plus:
  46. mapper-locations: classpath*:/mapper/**/*.xml
  47. #实体扫描,多个package用逗号或者分号分隔
  48. typeAliasesPackage: ins.platform.*.po
  49. #typeEnumsPackage: com.baomidou.springboot.entity.enums
  50. global-config:
  51. # 数据库相关配置
  52. db-config:
  53. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  54. id-type: id_worker
  55. #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
  56. field-strategy: not_empty
  57. #驼峰下划线转换
  58. column-underline: true
  59. #数据库大写下划线转换
  60. #capital-mode: true
  61. #逻辑删除配置
  62. logic-delete-value: 0
  63. logic-not-delete-value: 1
  64. db-type: h2
  65. #刷新mapper 调试神器
  66. refresh: true
  67. # 原生配置
  68. configuration:
  69. map-underscore-to-camel-case: true
  70. cache-enabled: false
  71. saa:
  72. power: false
  73. basePackage: ins/**/po