application.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. server:
  2. port: 8005
  3. spring:
  4. application:
  5. name: collect_fee
  6. datasource:
  7. name: test
  8. url: jdbc:mysql://47.99.212.176:3306/mec_pay?useUnicode=true&characterEncoding=UTF8&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
  9. username: mec_dev
  10. password: mec_dev
  11. # 使用druid数据源
  12. type: com.alibaba.druid.pool.DruidDataSource
  13. driver-class-name: com.mysql.cj.jdbc.Driver
  14. filters: stat
  15. maxActive: 20
  16. initialSize: 1
  17. maxWait: 60000
  18. minIdle: 1
  19. timeBetweenEvictionRunsMillis: 60000
  20. minEvictableIdleTimeMillis: 300000
  21. validationQuery: select 'x'
  22. testWhileIdle: true
  23. testOnBorrow: false
  24. testOnReturn: false
  25. poolPreparedStatements: true
  26. maxOpenPreparedStatements: 20
  27. redis:
  28. host: 47.99.212.176
  29. port: 6379
  30. password:
  31. database: 0
  32. #连接超时时间(毫秒)
  33. timeout: 10000
  34. jedis:
  35. pool:
  36. #连接池最大连接数(使用负值表示没有限制)
  37. max-active: 10
  38. #连接池最大阻塞等待时间(使用负值表示没有限制)
  39. max-wait: -1
  40. #连接池中的最大空闲连接
  41. max-idle: 10
  42. #连接池中的最小空闲连接
  43. min-idle: 0
  44. mybatis:
  45. mapperLocations: classpath:config/mybatis/*.xml
  46. # configuration:
  47. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  48. logging:
  49. config: classpath:logback-spring.xml
  50. path: d:/var/logs
  51. yq-pay:
  52. pay-host: https://qyfapi.95epay.com
  53. query-host: https://qyfquery.95epay.com
  54. merno: 0021677
  55. common:
  56. properties:
  57. mec-publicKey: e99a18c428cb38d5f260853678922e03
  58. mec-url: http://101.200.2.249:9001/api/sys
  59. key: e99a18c428cb38d5f260853678922e03