调整暴露接口

master
guochaojie 4 months ago
parent 97b669e1ac
commit 19d9bb93d8

@ -50,11 +50,18 @@ public class WebMvcConfig implements WebMvcConfigurer {
"/upload/**", "/upload/**",
"/qrcode/**.txt", "/qrcode/**.txt",
"/wx/**",//微信消息推送验证 "/wx/**",//微信消息推送验证
"/wx-message/**",//微信消息推送验证 // "/wx-message/**",//微信消息推送验证
"/webSocketServer/**",//socket通信 "/webSocketServer/**",//socket通信
"/doc.html", "/doc.html",
"/api/delivery-order/**", //设备柜接口
"/api/clean-order/**" "/device/conf",//获取配置
"/device/login",//手机号登录
"/device/event",//事件上报
"/device/weight",//上传实时重量
"/device/clean",//上传清运单
"/device/delivery",//上传投递单
"/device/controlAuth",//上传权限信息
"/device/uploadImage"//上传抓拍
); );
/** /**
@ -179,7 +186,6 @@ public class WebMvcConfig implements WebMvcConfigurer {
} }
/** /**
* springboot2.6.xknife4j * springboot2.6.xknife4j
* *
@ -214,6 +220,7 @@ public class WebMvcConfig implements WebMvcConfigurer {
/** /**
* shouldRegisterLinksMapping * shouldRegisterLinksMapping
*
* @param webEndpointProperties webEndpointProperties * @param webEndpointProperties webEndpointProperties
* @param environment environment * @param environment environment
* @param basePath / * @param basePath /

Loading…
Cancel
Save