application-prod.yml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. server:
  2. port: 8111
  3. servlet:
  4. context-path: /
  5. spring:
  6. application:
  7. name: hcp
  8. servlet:
  9. multipart:
  10. # 单个文件大小
  11. max-file-size: 100MB
  12. # 设置总上传的文件大小
  13. max-request-size: 100MB
  14. data:
  15. mongodb:
  16. authentication-database: hcp-dev
  17. database: hcp-dev
  18. host: 47.93.254.212
  19. port: 3717
  20. username: root
  21. password: SkyMedic$240307
  22. datasource:
  23. type: com.alibaba.druid.pool.DruidDataSource
  24. name: master
  25. url: jdbc:mysql://47.93.254.212:3485/hcp?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  26. username: root
  27. password: SkyMedic$240307
  28. driver-class-name: com.mysql.cj.jdbc.Driver
  29. filters: stat
  30. maxActive: 100
  31. initialSize: 3
  32. maxWait: 60000
  33. minIdle: 3
  34. timeBetweenEvictionRunsMillis: 60000
  35. minEvictableIdleTimeMillis: 300000
  36. validationQuery: select 'x' FROM DUAL
  37. testWhileIdle: true
  38. testOnBorrow: false
  39. testOnReturn: false
  40. poolPreparedStatements: true
  41. maxOpenPreparedStatements: 20
  42. jackson:
  43. # 全局json时间格式化
  44. date-format: yyyy-MM-dd HH:mm:ss
  45. time-zone: GMT+8
  46. #redis
  47. redis:
  48. host: 47.93.254.212
  49. port: 6379
  50. timeout: 3000
  51. password: SkyMedic$240307
  52. database: 1 #默认0
  53. poolMaxIdle: 256
  54. poolMaxTotal: 100
  55. poolMaxWait: 5000
  56. # token配置
  57. jwt:
  58. tokenHeader: userToken
  59. tokenPrefix: Bearer
  60. secret: 123456
  61. expiration: 604800
  62. rememberExpiration: 604800
  63. mybatis-plus:
  64. config-location: classpath:mybatis-config.xml
  65. mapper-locations: classpath*:mapper/*Mapper.xml
  66. type-aliases-package: com.yingyangfly.**.domain
  67. oss:
  68. access-key-id: LTAI5tCEQ1So2i2GehVRk6Er
  69. access-key-secret: Ju8eTnJdHa6nZJuDPfee2eQJQvuVuw
  70. bucket-name: hcp-yaorong
  71. endpoint: oss-cn-beijing.aliyuncs.com #填写自己oss endpoint
  72. outDomain: https://yaorongoss.yaorongmedical.com #填写自己oss 外网域名
  73. wx:
  74. app-id: 填写自己微信支付key
  75. app-secret: 填写自己微信支付密码
  76. pay-url-callback: http://自己微信支付回调:8601/pub/api/wx/pay/appointment/order/callback
  77. refund-url-callback: http://自己微信支付退款回调:8601/pub/api/wx/refund/appointment/order/callback
  78. live:
  79. stream: 187278.push.tlivecloud.com
  80. broadcast: pull.dustlee.com
  81. time-expand: 1440
  82. key: ZySdM7afXBAhP6XGkpjT
  83. livekey: TENYsAdNFfFwYJ2XiMWW
  84. secretid: AKIDPo5KNCoCLFoJb1HMFvQirpfJj0nSvAA4
  85. secretkey: 1whR4UimcDakfMo2gCW9bppaHm371kET
  86. vod:
  87. secretid: AKIDPo5KNCoCLFoJb1HMFvQirpfJj0nSvAA4
  88. secretkey: 1whR4UimcDakfMo2gCW9bppaHm371kET
  89. subappid: 1300835310
  90. im:
  91. sdkappid: 1400823270
  92. secretkey: 227a119d8a54da08ad0ea2b96f006d1cddf933e0a57e0f517e691ce055722720
  93. yingyang:
  94. security:
  95. check-pwd: true
  96. security:
  97. ignored:
  98. urls: #安全路径白名单
  99. - /**/*.html
  100. - /**/*.js
  101. - /**/*.css
  102. - /**/*.png
  103. - /**/*.map
  104. - /favicon.ico
  105. - /actuator/**
  106. - /druid/**
  107. - /login
  108. - /register
  109. - /info
  110. - /logout
  111. - /pub/app/**
  112. - /callback/**
  113. - /im/callback/**
  114. - /pay/callback/**/m**
  115. - /system/dict/data/selectByDictType
  116. - /learn/package/tencent/learnPackage
  117. - /wx/tencent/save
  118. query-daily-trai: https://yaorong.yaorongmedical.com/h5-training-daily/index.html
  119. review-task-space: 30