application-dev.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. # 微信支付
  18. wechat:
  19. payment:
  20. appid: wx369fcff95d387bde
  21. # 微信商户号
  22. mchid: 1635831469
  23. mchsn: 6A45EEB068369430B2FFD45EA29F641A8E18165F
  24. v3Key: iTRovdvaTUQq0b9Jr91D7Tx66JnIes5U
  25. notifyUrl: https://dev.kuaiyuman.cn/api/payment/notify
  26. refundNotifyUrl: https://dev.kuaiyuman.cn/api/payment/refundNotify
  27. certPath: cert/apiclient_cert.pem
  28. keyPath: cert/apiclient_key.pem
  29. miniapp:
  30. appid: wx369fcff95d387bde
  31. secret: e36560b99afd5f744754cd09e8f6cc2a
  32. # 以下需要先开通消息推送
  33. token: #微信小程序消息服务器配置的token
  34. aesKey: #微信小程序消息服务器配置的EncodingAESKey
  35. msgDataFormat: JSON
  36. fapiao:
  37. baseInformation: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/base-information
  38. taxCodes: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/tax-codes
  39. fapiaoApplications: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications
  40. notifyUrl: https://dev.kuaiyuman.cn/api/invoice/notify
  41. devConfig: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/development-config
  42. fapiaoFiles: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications/%s/fapiao-files
  43. queryFapiao: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications/%s
  44. titleUrl: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/user-title/title-url
  45. spring:
  46. datasource:
  47. druid: #以下是全局默认值,可以全局更改
  48. #监控统计拦截的filters
  49. filters: stat,slf4j
  50. #配置初始化大小/最小/最大
  51. initial-size: 2
  52. min-idle: 2
  53. max-active: 20
  54. #获取连接等待超时时间
  55. max-wait: 60000
  56. #间隔多久进行一次检测,检测需要关闭的空闲连接
  57. time-between-eviction-runs-millis: 60000
  58. #一个连接在池中最小生存的时间
  59. min-evictable-idle-time-millis: 300000
  60. validation-query: SELECT 'x'
  61. test-while-idle: true
  62. test-on-borrow: false
  63. test-on-return: false
  64. #打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
  65. pool-prepared-statements: false
  66. max-pool-prepared-statement-per-connection-size: 20
  67. dynamic:
  68. primary: db-admin
  69. strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
  70. datasource:
  71. db-admin:
  72. url: jdbc:mysql://121.40.98.15:3307/charge_admin?serverTimezone=Asia/Shanghai
  73. username: kym
  74. password: kx7#zFvS$$%uVDkZPk
  75. driver-class-name: com.mysql.cj.jdbc.Driver
  76. db-miniapp:
  77. url: jdbc:mysql://121.40.98.15:3307/charge_app?serverTimezone=Asia/Shanghai
  78. username: kym
  79. password: kx7#zFvS$$%uVDkZPk
  80. driver-class-name: com.mysql.cj.jdbc.Driver
  81. data:
  82. redis:
  83. port: 6380
  84. host: 121.40.98.15
  85. password: 123456
  86. database: 0
  87. lettuce:
  88. pool:
  89. min-idle: 1
  90. cluster:
  91. refresh:
  92. adaptive: true
  93. period: 20
  94. cache:
  95. type: redis
  96. redis:
  97. # 缓存过期时间:7天
  98. time-to-live: 604800
  99. kym:
  100. notify-email: skyline@kuaiyuman.cn