application.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. server:
  2. port: 8099
  3. tomcat:
  4. uri-encoding: UTF-8
  5. app.id: aska-admin
  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: # 密码(默认为空)
  16. jedis:
  17. pool:
  18. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  19. max-idle: 10 # 连接池中的最大空闲连接
  20. min-idle: 5
  21. max-active: 1000 # 连接池中的最小空闲连接
  22. datasource:
  23. druid:
  24. name: master
  25. url: jdbc:mysql://localhost:55000/aska?&zeroDateTimeBehavior=convertToNull&useSSL=false
  26. username: root
  27. password: mysqlpw
  28. driver-class-name: com.mysql.jdbc.Driver
  29. type: com.alibaba.druid.pool.DruidDataSource
  30. timeBetweenEvictionRunsMillis: 600000
  31. validationQuery: select 1
  32. initialSize: 20
  33. minIdle: 5
  34. maxActive: 20
  35. maxWait: 3000
  36. #微信支付配置
  37. wx:
  38. app-id: wxc6eeeba72fd3ed01
  39. #app端的appId
  40. app-appid: wxe5251793c19a48d5
  41. mch-id: 1641830577
  42. api-key: a8babfa0d75ac878dd76dc905bf677e2
  43. unified-order-url: https://api.mch.weixin.qq.com/pay/unifiedorder
  44. notify-url: https://biketest.mofangchuxing.com/askay/notify