application.yml 2.0 KB

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