forest-portal.yml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://172.16.90.253:3306/forest-cloud-mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
  4. username: root
  5. password: 123456
  6. druid:
  7. initial-size: 5
  8. min-idle: 10
  9. max-active: 20
  10. web-stat-filter:
  11. exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
  12. stat-view-servlet:
  13. login-username: druid
  14. login-password: druid
  15. boot:
  16. admin:
  17. client:
  18. url: http://localhost:9091
  19. data:
  20. mongodb:
  21. host: 172.16.90.253
  22. port: 27017
  23. database: mall-port
  24. redis:
  25. host: 172.16.90.253
  26. database: 0
  27. port: 6379
  28. password: 123456
  29. timeout: 300ms
  30. rabbitmq:
  31. host: 172.16.90.64
  32. port: 5672
  33. virtual-host: /forest
  34. username: forest
  35. password: 123456
  36. publisher-confirms: true
  37. myredis:
  38. address: redis://${spring.redis.host}:${spring.redis.port}
  39. passord: ${spring.redis.password}
  40. logging:
  41. level:
  42. org.springframework.data.mongodb.core: debug
  43. com.hwrj.cloud.portal.mapper: debug
  44. com.hwrj.cloud.portal.dao: debug
  45. mybatis:
  46. mapper-locations:
  47. - classpath:dao/*.xml
  48. - classpath*:com/**/mapper/*.xml
  49. rabbitmq:
  50. queue:
  51. name:
  52. cancelOrder: cancelOrderQueue
  53. redis:
  54. database: forest
  55. key:
  56. authCode: 'ums:authCode'
  57. telLoginCode: 'ums:authCode'
  58. orderId: 'oms:orderId'
  59. member: 'ums:member'
  60. token: 'ums:token'
  61. expire:
  62. authCode: 90
  63. authLoginCode: 240
  64. common: 86400
  65. jwt:
  66. #JWT存储的请求头
  67. tokenHeader: Authorization
  68. #JWT加解密使用的密钥
  69. secret: forest-admin-secret
  70. #JWT的超期限时间(60*60*24*7)
  71. expiration: 604800
  72. #JWT负载中拿到开头
  73. tokenHead: Bearer
  74. forest:
  75. wx:
  76. password: forest123456
  77. sms:
  78. accessKeyId: LTAICB9TH0OAN3yJ
  79. accessKeySecret: lCuyL3MUQRLfoVw39W0NqWdVGoLV60
  80. signName: hywa
  81. wx:
  82. mp:
  83. aesKey: 123
  84. appId: wxbe90cc7c5233dd84
  85. secret: ec4a18ce1a7bcf17cf592c3d57cec68a
  86. token: 123
  87. url: http://wx.hw.hongweisoft.com/zddapi/forest-portal/wechat/h5/userInfo
  88. before: http://172.16.90.25:8080
  89. pay:
  90. appId: wxbe90cc7c5233dd84
  91. mchId: 1583849731
  92. mchKey: B5F5A628C91D869F4CA357D2BCD6300
  93. wxpayAppcallbackurl: http://wx.hw.hongweisoft.com/zddtest/forest-portal/app/payResult