application.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. server:
  2. port: 8899
  3. wx:
  4. mp:
  5. appId: wxbe90cc7c5233dd84
  6. secret: ec4a18ce1a7bcf17cf592c3d57cec68a
  7. url: http://wx.hw.hongweisoft.com/wxpaydemoapi/wechat/h5/userInfo
  8. token: 123
  9. aesKey: 123
  10. before: http://wx.hw.hongweisoft.com/wxpaydemoapi/wechat/h5/authorize?returnUrl=http://wx.hw.hongweisoft.com/wxpaydemoh5
  11. ma:
  12. appId: wxbe90cc7c5233dd84
  13. secret: ec4a18ce1a7bcf17cf592c3d57cec68a
  14. pay:
  15. wxpayAppcallbackurl: http://wx.hw.hongweisoft.com/wxpaydemoapi/app/payResult
  16. wxpayRefundCallBackUrl: http://wx.hw.hongweisoft.com/wxpaydemoapi/app/refundResult
  17. mchId: 1583849731
  18. appId: wxbe90cc7c5233dd84
  19. mchKey: B5F5A628C91D869F4CA357D2BCD63006
  20. keyPath: classpath:apiclient_cert.p12
  21. spring:
  22. redis:
  23. host: 127.0.0.1
  24. port: 6379
  25. password:
  26. database: 0
  27. timeout: 10000
  28. datasource:
  29. driver-class-name: com.mysql.cj.jdbc.Driver
  30. username: root
  31. password: 123456
  32. url: jdbc:mysql://localhost:3306/demo?characterEncoding=utf8&useSSL=false&serverTimezone=UTC&rewriteBatchedStatements=true
  33. type: com.zaxxer.hikari.HikariDataSource
  34. hikari:
  35. pool-name: HikariCP
  36. minimum-idle: 10
  37. idle-timeout: 600000
  38. maximum-pool-size: 50
  39. auto-commit: true
  40. max-lifetime: 1800000
  41. connection-timeout: 30000
  42. jwt:
  43. tokenHeader: Authorization
  44. secret: forest-admin-secret
  45. expiration: 604800
  46. tokenHead: Bearer
  47. mybatis-plus:
  48. configuration:
  49. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  50. mapper-locations: classpath*:mapper/*.xml
  51. type-aliases-package: com.example.entity