application-dev.yml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # 微信支付
  2. wechat:
  3. payment:
  4. notifyUrl: https://dev-wash.kuaiyuman.cn/api/payment/notify
  5. refundNotifyUrl: https://dev-wash.kuaiyuman.cn/api/payment/refundNotify
  6. fapiao:
  7. notifyUrl: https://dev-wash.kuaiyuman.cn/api/invoice/notify
  8. spring:
  9. datasource:
  10. url: jdbc:mysql://server.kuaiyuman.cn:3306/car_wash?serverTimezone=Asia/Shanghai
  11. username: root
  12. password: KuaiyuMan/*-
  13. druid: #以下是全局默认值,可以全局更改
  14. #监控统计拦截的filters
  15. filters: stat,slf4j
  16. #配置初始化大小/最小/最大
  17. initial-size: 2
  18. min-idle: 2
  19. max-active: 20
  20. #获取连接等待超时时间
  21. max-wait: 60000
  22. #间隔多久进行一次检测,检测需要关闭的空闲连接
  23. time-between-eviction-runs-millis: 60000
  24. #一个连接在池中最小生存的时间
  25. min-evictable-idle-time-millis: 300000
  26. validation-query: SELECT 'x'
  27. test-while-idle: true
  28. test-on-borrow: false
  29. test-on-return: false
  30. #打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
  31. pool-prepared-statements: false
  32. max-pool-prepared-statement-per-connection-size: 20
  33. data:
  34. redis:
  35. port: 6379
  36. host: server.kuaiyuman.cn
  37. password: KtXA^Zx!TZmLEy(@JjB@2(TVG0kdy5)&
  38. database: 11
  39. lettuce:
  40. pool:
  41. min-idle: 1
  42. cluster:
  43. refresh:
  44. adaptive: true
  45. period: 20
  46. cache:
  47. type: redis
  48. redis:
  49. # 缓存过期时间:7天
  50. time-to-live: 604800
  51. rabbitmq:
  52. host: server.kuaiyuman.cn
  53. port: 5673
  54. username: kym
  55. password: kym!@123
  56. virtual-host: /
  57. publisher-returns: true
  58. publisher-confirms: true
  59. listener:
  60. simple:
  61. acknowledge-mode: manual
  62. retry:
  63. enabled: true
  64. max-attempts: 3
  65. initial-interval: 3000ms
  66. max-interval: 6000ms
  67. multiplier: 2
  68. consumer-batch-enabled: true #开启批量消费
  69. batch-size: 100 #每次批量消费大小
  70. kym:
  71. notify-email: skyline@kuaiyuman.cn
  72. domain: https://dev-wash.kuaiyuman.cn
  73. aliyun:
  74. lot:
  75. productKey: k1olfsszoYB
  76. amqp:
  77. accessKey: LTAI5t8urs6Xiw2YNbR7u158
  78. accessSecret: UiLp1cB7ZeJ00pzf6Phy8t3VFz52ut
  79. consumerGroupId: DEFAULT_GROUP
  80. iotInstanceId: iot-06z00hb4ys0z7ri
  81. host: iot-06z00hb4ys0z7ri.amqp.iothub.aliyuncs.com
  82. clientId: wash-dev