application-dev.yml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. # EN+充电配置
  2. en-plus:
  3. # 运营商ID
  4. operatorId: MA5HJNDG1
  5. # 运营商密钥
  6. operatorSecret: 5009db3dc1e94ea8
  7. # 消息密钥
  8. dataSecret: 8c15f5bf050948ba
  9. # 消息密钥初始化向量
  10. dataSecretIv: 915bea94fa13461d
  11. # 签名密钥
  12. sigSecret: 46050b0bb5b7415c
  13. # 最小充电余额(分)
  14. chargeMinAmount: 200
  15. # 接口地址
  16. apiDomain: https://dev.en-plus.cn/Charge/evcs/v1//MA5HJNDG1/
  17. # sass配置
  18. sass: https://dev.en-plus.cn/Charge/op/login?username=快与慢&password=Admin123
  19. # sass结算订单
  20. sassClose: https://dev.en-plus.cn/Charge/op/analyze/order/close?orderCode=
  21. # 微信支付
  22. wechat:
  23. payment:
  24. appid: wx369fcff95d387bde
  25. # 微信商户号
  26. mchid: 1635831469
  27. mchsn: 6A45EEB068369430B2FFD45EA29F641A8E18165F
  28. v3Key: iTRovdvaTUQq0b9Jr91D7Tx66JnIes5U
  29. notifyUrl: https://dev.kuaiyuman.cn/api/payment/notify
  30. refundNotifyUrl: https://dev.kuaiyuman.cn/api/payment/refundNotify
  31. certPath: cert/apiclient_cert.pem
  32. keyPath: cert/apiclient_key.pem
  33. miniapp:
  34. appid: wx369fcff95d387bde
  35. secret: e36560b99afd5f744754cd09e8f6cc2a
  36. # 以下需要先开通消息推送
  37. token: #微信小程序消息服务器配置的token
  38. aesKey: #微信小程序消息服务器配置的EncodingAESKey
  39. msgDataFormat: JSON
  40. #运营看板小程序
  41. kanban:
  42. appid: wx35b22037ccbc7b3f
  43. secret: b59ff1b7d160b5c0efe33570a2f3fdf2
  44. token:
  45. fapiao:
  46. baseInformation: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/base-information
  47. taxCodes: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/tax-codes
  48. fapiaoApplications: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications
  49. notifyUrl: https://dev.kuaiyuman.cn/api/invoice/notify
  50. devConfig: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/development-config
  51. fapiaoFiles: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications/%s/fapiao-files
  52. queryFapiao: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications/%s
  53. titleUrl: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/user-title/title-url
  54. userTitle: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/user-title?scene=WITHOUT_WECHATPAY&fapiao_apply_id=%s
  55. cardTemplate: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/card-template
  56. # 公众号配置
  57. mp:
  58. appid: wx93b0ef1be901bd19
  59. secret: eea715b3058717f44e17c3e4e5cf1d2f
  60. token: kym
  61. aeskey: U1ZC5gRrY4DDLZeyKxwpvU5Q7lQvvnQdOV0aX0UPpn6
  62. spring:
  63. datasource:
  64. druid: #以下是全局默认值,可以全局更改
  65. #监控统计拦截的filters
  66. filters: stat,slf4j
  67. #配置初始化大小/最小/最大
  68. initial-size: 2
  69. min-idle: 2
  70. max-active: 20
  71. #获取连接等待超时时间
  72. max-wait: 60000
  73. #间隔多久进行一次检测,检测需要关闭的空闲连接
  74. time-between-eviction-runs-millis: 60000
  75. #一个连接在池中最小生存的时间
  76. min-evictable-idle-time-millis: 300000
  77. validation-query: SELECT 'x'
  78. test-while-idle: true
  79. test-on-borrow: false
  80. test-on-return: false
  81. #打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
  82. pool-prepared-statements: false
  83. max-pool-prepared-statement-per-connection-size: 20
  84. dynamic:
  85. primary: db-admin
  86. strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
  87. datasource:
  88. db-admin:
  89. url: jdbc:mysql://121.40.98.15:3307/charge_admin?serverTimezone=Asia/Shanghai
  90. username: root
  91. password: KuaiyuMan/*-
  92. driver-class-name: com.mysql.cj.jdbc.Driver
  93. db-miniapp:
  94. url: jdbc:mysql://121.40.98.15:3307/charge_app?serverTimezone=Asia/Shanghai
  95. username: root
  96. password: KuaiyuMan/*-
  97. driver-class-name: com.mysql.cj.jdbc.Driver
  98. data:
  99. redis:
  100. port: 6380
  101. host: 121.40.98.15
  102. password: KtXA^Zx!TZmLEy(@JjB@2(TVG0kdy5)&
  103. database: 10
  104. lettuce:
  105. pool:
  106. min-idle: 1
  107. cluster:
  108. refresh:
  109. adaptive: true
  110. period: 20
  111. cache:
  112. type: redis
  113. redis:
  114. # 缓存过期时间:7天
  115. time-to-live: 604800
  116. rabbitmq:
  117. host: 121.40.98.15
  118. port: 5674
  119. username: kym
  120. password: kym!@123
  121. virtual-host: /dev
  122. publisher-returns: true
  123. publisher-confirms: true
  124. listener:
  125. simple:
  126. acknowledge-mode: manual
  127. retry:
  128. enabled: true
  129. max-attempts: 3
  130. initial-interval: 3000ms
  131. max-interval: 6000ms
  132. multiplier: 2
  133. consumer-batch-enabled: true #开启批量消费
  134. batch-size: 100 #每次批量消费大小
  135. kym:
  136. notify-email: skyline@kuaiyuman.cn