application.yml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. notify-url: http://47.99.212.176:9000/yqpay/notify #通知
  60. return-host: http://pay.dayaedu.com #支付返回
  61. merno: 0021677
  62. common:
  63. properties:
  64. mec-publicKey: e99a18c428cb38d5f260853678922e03
  65. mec-url: http://101.200.2.249:9001/api/sys
  66. key: e99a18c428cb38d5f260853678922e03
  67. sms-appId: EUCP-EMY-SMS1-1AIHP
  68. sms-secretKey: CBA790799C876DAD
  69. sms-host-dev: http://bjksmtn.b2m.cn
  70. sms-send-request-url: https://pay.dayaedu.com/#/?