application-dev.yml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. fapiao:
  41. baseInformation: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/base-information
  42. taxCodes: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/tax-codes
  43. fapiaoApplications: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications
  44. notifyUrl: https://dev.kuaiyuman.cn/api/invoice/notify
  45. devConfig: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/development-config
  46. fapiaoFiles: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications/%s/fapiao-files
  47. queryFapiao: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications/%s
  48. titleUrl: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/user-title/title-url
  49. userTitle: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/user-title?scene=WITHOUT_WECHATPAY&fapiao_apply_id=%s
  50. cardTemplate: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/card-template
  51. mp:
  52. appid: wx93b0ef1be901bd19
  53. secret: eea715b3058717f44e17c3e4e5cf1d2f
  54. token: kym
  55. aeskey: U1ZC5gRrY4DDLZeyKxwpvU5Q7lQvvnQdOV0aX0UPpn6
  56. spring:
  57. datasource:
  58. druid: #以下是全局默认值,可以全局更改
  59. #监控统计拦截的filters
  60. filters: stat,slf4j
  61. #配置初始化大小/最小/最大
  62. initial-size: 2
  63. min-idle: 2
  64. max-active: 20
  65. #获取连接等待超时时间
  66. max-wait: 60000
  67. #间隔多久进行一次检测,检测需要关闭的空闲连接
  68. time-between-eviction-runs-millis: 60000
  69. #一个连接在池中最小生存的时间
  70. min-evictable-idle-time-millis: 300000
  71. validation-query: SELECT 'x'
  72. test-while-idle: true
  73. test-on-borrow: false
  74. test-on-return: false
  75. #打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
  76. pool-prepared-statements: false
  77. max-pool-prepared-statement-per-connection-size: 20
  78. dynamic:
  79. primary: db-miniapp
  80. strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
  81. datasource:
  82. db-admin:
  83. url: jdbc:mysql://121.40.98.15:3307/charge_admin?tinyInt1isBit=false&serverTimezone=Asia/Shanghai
  84. username: root
  85. password: KuaiyuMan/*-
  86. driver-class-name: com.mysql.cj.jdbc.Driver
  87. db-miniapp:
  88. url: jdbc:mysql://121.40.98.15:3307/charge_app
  89. username: root
  90. password: KuaiyuMan/*-
  91. driver-class-name: com.mysql.cj.jdbc.Driver
  92. data:
  93. redis:
  94. port: 6380
  95. host: 121.40.98.15
  96. password: KtXA^Zx!TZmLEy(@JjB@2(TVG0kdy5)&
  97. database: 10
  98. lettuce:
  99. pool:
  100. min-idle: 1
  101. cluster:
  102. refresh:
  103. adaptive: true
  104. period: 20
  105. cache:
  106. type: redis
  107. redis:
  108. # 缓存过期时间:7天
  109. time-to-live: 604800
  110. rabbitmq:
  111. host: 121.40.98.15
  112. port: 5674
  113. username: kym
  114. password: kym!@123
  115. virtual-host: /dev
  116. publisher-returns: true
  117. publisher-confirms: true
  118. listener:
  119. simple:
  120. acknowledge-mode: manual
  121. retry:
  122. enabled: true
  123. max-attempts: 3
  124. initial-interval: 3000ms
  125. max-interval: 6000ms
  126. multiplier: 2
  127. kym:
  128. notify-email: skyline@kuaiyuman.cn