application-dev.yml 2.9 KB

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