application.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. server:
  2. port: 8098
  3. tomcat:
  4. uri-encoding: UTF-8
  5. app.id: aska
  6. mybatis:
  7. typeAliasesPackage: com.mofangchuxing.aska.dao.domain
  8. mapperLocations: classpath:mapper/*.xml
  9. spring:
  10. redis:
  11. open: true # 是否开启redis缓存 true开启 false关闭
  12. database: 0
  13. host: 127.0.0.1 # 测试环境redis
  14. port: 6379
  15. password: server@188.24 # 密码(默认为空)
  16. #password:
  17. jedis:
  18. pool:
  19. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  20. max-idle: 10 # 连接池中的最大空闲连接
  21. min-idle: 5
  22. max-active: 1000 # 连接池中的最小空闲连接
  23. datasource:
  24. druid:
  25. name: master
  26. url: jdbc:mysql://localhost:55000/aska?&zeroDateTimeBehavior=convertToNull&useSSL=false
  27. username: root
  28. password: mysqlpw
  29. driver-class-name: com.mysql.jdbc.Driver
  30. type: com.alibaba.druid.pool.DruidDataSource
  31. timeBetweenEvictionRunsMillis: 600000
  32. validationQuery: select 1
  33. initialSize: 20
  34. minIdle: 5
  35. maxActive: 20
  36. maxWait: 3000
  37. #微信支付配置
  38. wx:
  39. app-id: wxc6eeeba72fd3ed01
  40. #app端的appId
  41. app-appid: wxe5251793c19a48d5
  42. mch-id: 1641830577
  43. api-key: a8babfa0d75ac878dd76dc905bf677e2
  44. apiv3-key: 87b90c2065d9caa1c767ff1b15b21e52
  45. api-serial-no: 22098B381BAE268F47FE823C70C3AA7702EE54C4
  46. public-serial-no: 5BB0B8268EB289373EDFA3B1572FE3F2F8FD3B80
  47. unified-order-url: https://api.mch.weixin.qq.com/pay/unifiedorder
  48. notify-url: https://biketest.mofangchuxing.com/askay/notify
  49. refund-notify-url: https://test-crm2gw.adb-tech.com/market/client/refundNotify