application.yml 1.7 KB

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