application.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. server:
  2. port: 8088
  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/daya_pay?useUnicode=true&characterEncoding=UTF8&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
  14. username: daya
  15. password: dayapayonline2019
  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: 96e021bdc8c20c5afe238bf2ba12c171
  65. mec-url: http://101.200.3.78:9001/api/sys
  66. key: 96e021bdc8c20c5afe238bf2ba12c171
  67. keyId: 1490
  68. sms-appId: EUCP-EMY-SMS1-1AIHP
  69. sms-secretKey: CBA790799C876DAD
  70. sms-host-dev: http://bjksmtn.b2m.cn
  71. sms-send-request-url: https://pay.dayaedu.com/#/home?