application-dev.yml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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-cloud.kuaiyuman.cn/admin/finance/fapiaoNotify
  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. spring:
  45. datasource:
  46. druid: #以下是全局默认值,可以全局更改
  47. #监控统计拦截的filters
  48. filters: stat,slf4j
  49. #配置初始化大小/最小/最大
  50. initial-size: 2
  51. min-idle: 2
  52. max-active: 20
  53. #获取连接等待超时时间
  54. max-wait: 60000
  55. #间隔多久进行一次检测,检测需要关闭的空闲连接
  56. time-between-eviction-runs-millis: 60000
  57. #一个连接在池中最小生存的时间
  58. min-evictable-idle-time-millis: 300000
  59. validation-query: SELECT 'x'
  60. test-while-idle: true
  61. test-on-borrow: false
  62. test-on-return: false
  63. #打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
  64. pool-prepared-statements: false
  65. max-pool-prepared-statement-per-connection-size: 20
  66. dynamic:
  67. primary: db-admin
  68. strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
  69. datasource:
  70. db-admin:
  71. url: jdbc:mysql://121.40.98.15:3307/charge_admin?serverTimezone=Asia/Shanghai
  72. username: root
  73. password: 123456
  74. driver-class-name: com.mysql.cj.jdbc.Driver
  75. db-miniapp:
  76. url: jdbc:mysql://121.40.98.15:3307/charge_app?serverTimezone=Asia/Shanghai
  77. username: root
  78. password: 123456
  79. driver-class-name: com.mysql.cj.jdbc.Driver
  80. data:
  81. redis:
  82. port: 6380
  83. host: 121.40.98.15
  84. password: 123456
  85. database: 0
  86. lettuce:
  87. pool:
  88. min-idle: 1
  89. cluster:
  90. refresh:
  91. adaptive: true
  92. period: 20
  93. cache:
  94. type: redis
  95. redis:
  96. # 缓存过期时间:7天
  97. time-to-live: 604800
  98. kym:
  99. notify-email: skyline@kuaiyuman.cn