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: 1612358534
  43. api-key: a8babfa0d75ac878dd76dc905bf677e2
  44. apiv3-key: IT5BZUJD6FUSYJWNQHGJ22NLELI832JE
  45. api-serial-no: 7D5F2661F2E803ACBAA554D55CB03B71ABE16C76
  46. public-serial-no: 5BFA109777C239CD974924938AC92304EDFAE55C
  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