application.yml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. server:
  2. port: 8889
  3. servlet:
  4. context-path: /
  5. spring:
  6. application:
  7. name: client-api
  8. # 文件大小上传配置
  9. servlet:
  10. multipart:
  11. max-file-size: 200MB
  12. max-request-size: 200MB
  13. cache:
  14. type: redis
  15. #jackson json解析
  16. jackson:
  17. time-zone: GMT+8
  18. serialization:
  19. #关闭jackson 对json做解析
  20. fail-on-empty-beans: false
  21. # Redis
  22. redis:
  23. # host: 114.132.229.139
  24. host: 127.0.0.1
  25. port: 6379
  26. # password: 123456
  27. lettuce:
  28. pool:
  29. # 连接池最大连接数(使用负值表示没有限制) 默认 8
  30. max-active: 200
  31. # 连接池最大阻塞等待时间(使用负值表示没有限制) 默认 -1
  32. max-wait: 20
  33. # 连接池中的最大空闲连接 默认 8
  34. max-idle: 10
  35. # 连接池中的最小空闲连接 默认 8
  36. min-idle: 8
  37. datasource:
  38. driverClassName: com.mysql.cj.jdbc.Driver
  39. username: cb
  40. password: sEzfxcjZFEzfJrEA
  41. url: jdbc:mysql://139.9.38.185:3306/cb?useUnicode=true&characterEncoding=utf-8&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
  42. # 忽略TOKEN 鉴权 的url
  43. ignored:
  44. urls:
  45. - /editor-app/**
  46. - /actuator**
  47. - /actuator/**
  48. - /MP_verify_qSyvBPhDsPdxvOhC.txt
  49. - /weixin/**
  50. - /source/**
  51. - /buyer/payment/cashier/**
  52. - /buyer/payment/cashierRefund/**
  53. - /buyer/other/pageData/**
  54. - /buyer/other/article/**
  55. - /buyer/goods/**
  56. - /buyer/store/**
  57. - /buyer/passport/connect/**
  58. - /buyer/members/**
  59. - /buyer/passport/member/**
  60. - /buyer/passport/member/refresh/**
  61. - /buyer/promotion/pintuan/**
  62. - /buyer/promotion/seckill/**
  63. - /buyer/promotion/pointsGoods/**
  64. - /buyer/promotion/coupon
  65. - /buyer/member/evaluation/**/goodsEvaluation
  66. - /buyer/member/evaluation/**/evaluationNumber
  67. - /buyer/other/appVersion/**
  68. - /buyer/broadcast/studio/**
  69. - /druid/**
  70. - /swagger-ui/index.html
  71. - /swagger-ui.html
  72. - /v3/api-docs
  73. - /v3/api-docs.yaml
  74. - /doc.html
  75. - /swagger-resources/**
  76. - /swagger/**
  77. - /webjars/**
  78. - /configuration/ui
  79. - /boot-admin
  80. - /**/*.js
  81. - /**/*.css
  82. - /**/*.png
  83. - /**/*.ico
  84. - /wx/user/login
  85. - /PVVE7X4F8U.txt
  86. - /app/admin/login
  87. - /phone/login/**
  88. - /common/sms/**
  89. - /app/admin/sms/login/**
  90. - /app/member/phone/**
  91. - /common/sys/**
  92. - /device/**
  93. - /common/ocr/**
  94. springdoc:
  95. api-docs:
  96. # 是否敞开接口文档
  97. enabled: true
  98. swagger-ui:
  99. # 耐久化认证数据,假如设置为 true,它会保存授权数据而且不会在浏览器关闭/刷新时丢掉
  100. persistAuthorization: true
  101. swagger:
  102. title: wteam API接口文档
  103. description: wteam Api Documentation
  104. version: 1.0.0
  105. termsOfServiceUrl: https://pickmall.cn
  106. contact:
  107. name: wteam
  108. url: https://pickmall.cn
  109. email: 1958615756@qq.com
  110. # Mybatis-plus
  111. mybatis-plus:
  112. mapper-locations: classpath*:mapper/*.xml
  113. configuration:
  114. #缓存开启
  115. cache-enabled: true
  116. #日志
  117. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  118. # 日志
  119. #logging:
  120. # config: classpath:logback-spring.xml
  121. # # 输出级别
  122. # level:
  123. # root: info
  124. # # org.springframework: debug
  125. # file:
  126. # # 指定路径
  127. # path: lili-logs
  128. # logback:
  129. # rollingpolicy:
  130. # # 最大保存天数
  131. # max-history: 7
  132. # # 每个文件最大大小
  133. # max-file-size: 5MB
  134. #加密参数
  135. lili:
  136. system:
  137. isDemoSite: true
  138. statistics:
  139. # 在线人数统计 X 小时。这里设置48,即统计过去48小时每小时在线人数
  140. onlineMember: 48
  141. # 当前在线人数刷新时间间隔,单位秒,设置为600,则每10分钟刷新一次
  142. currentOnlineUpdate: 600
  143. #qq lbs 申请
  144. lbs:
  145. key: 4BYBZ-7MT6S-PUAOA-6BNWL-FJUD7-UUFXT
  146. sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
  147. #域名
  148. domain:
  149. pc: https://pc-b2b2c.pickmall.cn
  150. wap: https://m-b2b2c.pickmall.cn
  151. store: https://store-b2b2c.pickmall.cn
  152. admin: https://admin-b2b2c.pickmall.cn
  153. #api地址
  154. api:
  155. buyer: https://buyer-api.pickmall.cn
  156. common: https://common-api.pickmall.cn
  157. manager: https://admin-api.pickmall.cn
  158. store: https://store-api.pickmall.cn
  159. # jwt 细节设定
  160. jwt-setting:
  161. # token过期时间(分钟)
  162. tokenExpireTime: 60
  163. # 使用Spring @Cacheable注解失效时间
  164. cache:
  165. # 过期时间 单位秒 永久不过期设为-1
  166. timeout: 1500
  167. #多线程配置
  168. thread:
  169. corePoolSize: 5
  170. maxPoolSize: 50
  171. queueCapacity: 50
  172. data:
  173. elasticsearch:
  174. cluster-name: elasticsearch
  175. cluster-nodes: 127.0.0.1:9200
  176. index:
  177. number-of-replicas: 0
  178. number-of-shards: 3
  179. index-prefix: lili
  180. schema: http
  181. # account:
  182. # username: elastic
  183. # password: LiLiShopES
  184. logstash:
  185. server: 192.168.0.116:4560
  186. rocketmq:
  187. promotion-topic: lili_promotion_topic
  188. promotion-group: lili_promotion_group
  189. msg-ext-topic: lili_msg_topic
  190. msg-ext-group: lili_msg_group
  191. goods-topic: lili_goods_topic
  192. goods-group: lili_goods_group
  193. order-topic: lili_order_topic
  194. order-group: lili_order_group
  195. member-topic: lili_member_topic
  196. member-group: lili_member_group
  197. store-topic: lili_store_topic
  198. store-group: lili_store_group
  199. other-topic: lili_other_topic
  200. other-group: lili_other_group
  201. notice-topic: lili_notice_topic
  202. notice-group: lili_notice_group
  203. notice-send-topic: lili_send_notice_topic
  204. notice-send-group: lili_send_notice_group
  205. after-sale-topic: lili_after_sale_topic
  206. after-sale-group: lili_after_sale_group
  207. wteam:
  208. # jwt 细节设定
  209. jwt-setting:
  210. # token过期时间(分钟)
  211. tokenExpireTime: 3600
  212. # 使用Spring @Cacheable注解失效时间
  213. cache:
  214. # 过期时间 单位秒 永久不过期设为-1
  215. timeout: 1500
  216. #
  217. #rocketmq:
  218. # name-server: 127.0.0.1:9876
  219. # producer:
  220. # group: lili_group
  221. # send-message-timeout: 30000
  222. #
  223. #xxl:
  224. # job:
  225. # admin:
  226. # addresses: http://127.0.0.1:9001/xxl-job-admin
  227. # executor:
  228. # appname: xxl-job-executor-lilishop
  229. # address:
  230. # ip:
  231. # port: 8891
  232. # logpath: ./xxl-job/executor
  233. # logretentiondays: 7