application.yml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. server:
  2. port: 8001
  3. spring:
  4. application:
  5. name: @project.artifactId@
  6. jackson:
  7. date-format: yyyy-MM-dd HH:mm:ss
  8. time-zone: GMT+8
  9. servlet:
  10. multipart:
  11. max-file-size: 25MB
  12. max-request-size: 25MB
  13. data:
  14. mongodb:
  15. uri: mongodb://root:111111@sld-mongodb:27017/b2b2c
  16. logging:
  17. file:
  18. name: /bbc/log/${spring.application.name}.log
  19. level:
  20. com.slodon.b2b2c: debug
  21. slodon:
  22. b2b2c:
  23. datasource:
  24. write:
  25. url: jdbc:mysql://sld-mysql:3306/b2b2c?useUnicode=true&useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true
  26. read:
  27. url: jdbc:mysql://sld-mysql:3306/b2b2c?useUnicode=true&useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
  28. socketio:
  29. # 客服模块socket配置
  30. im:
  31. host: 0.0.0.0 #监听的ip
  32. port: 8112 #监听端口
  33. # 设置最大每帧处理数据的长度,防止他人利用大数据来攻击服务器
  34. maxFramePayloadLength: 1048576
  35. # 设置http交互最大内容长度
  36. maxHttpContentLength: 1048576
  37. # socket连接数大小(如只监听一个端口boss线程组为1即可)
  38. bossCount: 1
  39. workCount: 100
  40. allowCustomRequests: true
  41. # 协议升级超时时间(毫秒),默认10秒。HTTP握手升级为ws协议超时时间
  42. upgradeTimeout: 1000000
  43. # Ping消息超时时间(毫秒),默认60秒,这个时间间隔内没有接收到心跳消息就会发送超时事件
  44. pingTimeout: 6000000
  45. # Ping消息间隔(毫秒),默认25秒。客户端向服务器发送一条心跳消息间隔
  46. pingInterval: 25000
  47. secure:
  48. ignore:
  49. commonUrls: #不需要验证登录状态的url(不包含登录接口)
  50. - "/v3/captcha/**"
  51. - "/swagger-resources/**"
  52. - "/doc.html"
  53. - "/v2/api-docs"
  54. - "/*/*/v2/api-docs"
  55. - "/*/*/v2/api-docs-ext"
  56. - "/webjars/**"
  57. - "/favicon.ico"
  58. - "/v3/oss/**"
  59. - "/v3/msg/front/commons/getCaptcha"
  60. - "/v3/member/front/login/wechat/login"
  61. - "/v3/member/front/login/wechat/bindMobile"
  62. - "/v3/msg/front/commons/smsCode"
  63. - "/v3/member/front/login/wxjsConf"
  64. - "/v3/member/front/login/freeSecretLogin"
  65. - "/actuator/**"
  66. - "/v3/business/front/orderPayCallback/ali"
  67. - "/v3/business/front/orderPayCallback/wx"
  68. - "/v3/member/front/rechargeCallback/wx"
  69. - "/v3/member/front/rechargeCallback/ali"
  70. - "/v3/msg/seller/commons/smsCode"
  71. - "/v3/seller/seller/vendor/retrievePwd"
  72. - "/v3/seller/seller/vendor/register"
  73. - "/v3/seller/seller/registerPayCallback/**"
  74. - "/v3/seller/seller/renewPayCallback/**"
  75. - "/v3/video/admin/video/setting/getLiveSettingList"
  76. - "/resources/**"
  77. login-urls: #登录接口
  78. - "/v3/frontLogin/**"
  79. - "/v3/adminLogin/**"
  80. - "/v3/sellerLogin/**"
  81. front-without-login-urls: #商城端不需要登录就可以访问的url
  82. - "/v3/goods/front/goods/details"
  83. - "/v3/goods/front/goods/goodsList"
  84. - "/v3/goods/front/goods/goodsBrandList"
  85. - "/v3/goods/front/goods/recommendList"
  86. - "/v3/goods/front/goods/share/sharePosters"
  87. - "/v3/goods/front/goods/category/list"
  88. - "/v3/goods/front/goods/category/screenList"
  89. - "/v3/goods/front/goods/comment"
  90. - "/v3/goods/front/goods/productInfo"
  91. - "/v3/goods/front/goods/newGoods"
  92. - "/v3/goods/front/goods/activityList"
  93. - "/v3/seller/front/store/list"
  94. - "/v3/seller/front/store/detail"
  95. - "/v3/seller/front/store/storeCategory"
  96. - "/v3/seller/front/storeCategory/list"
  97. - "/v3/member/front/productLookLog/add"
  98. - "/v3/member/front/memberPassword/resetLoginPwd"
  99. - "/v3/system/front/deco/index"
  100. - "/v3/system/front/deco/special"
  101. - "/v3/system/front/deco/storeIndex"
  102. - "/v3/system/front/deco/information"
  103. - "/v3/system/front/setting/getSettings"
  104. - "/v3/system/front/pcDeco/index"
  105. - "/v3/system/front/pcDeco/sellerIndex"
  106. - "/v3/system/front/deco/firstAdv"
  107. - "/v3/system/front/navigation/list"
  108. - "/v3/system/front/agreement/detail"
  109. - "/v3/system/admin/search/esInit"
  110. - "/v3/frontLogin/oauth/register"
  111. - "/v3/promotion/front/coupon/storeCouponList"
  112. - "/v3/promotion/front/coupon/couponCenter"
  113. - "/v3/promotion/front/seckill/getSeckillLabel"
  114. - "/v3/promotion/front/seckill/getSeckillStage"
  115. - "/v3/promotion/front/seckill/goodsList"
  116. - "/v3/promotion/front/seckill/banner"
  117. - "/v3/promotion/front/draw/detail"
  118. - "/v3/promotion/front/draw/integral"
  119. - "/v3/promotion/front/preSell/list"
  120. - "/v3/promotion/front/preSell/detail"
  121. - "/v3/cms/front/friendLink/list"
  122. - "/v3/cms/front/article/helpList"
  123. - "/v3/cms/front/article/articleList"
  124. - "/v3/cms/front/article/articleDetail"
  125. - "/v3/cms/front/information/list"
  126. - "/v3/cms/front/info/detail"
  127. - "/v3/cms/front/information/cateList"
  128. - "/v3/integral/front/integral/mall/list"
  129. - "/v3/integral/front/integral/mall/goodsList"
  130. - "/v3/integral/front/integral/mall/recommendList"
  131. - "/v3/integral/front/integral/mall/details"
  132. - "/v3/business/seller/faceSheet/generate"
  133. - "/v3/system/seller/setting/getStoreSetting"
  134. - "/v3/system/admin/setting/getPcMainImage"