|
|
@@ -11,7 +11,7 @@ public class MyWebMvcConfigurer implements WebMvcConfigurer{
|
|
11
|
11
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
12
|
12
|
registry.addInterceptor(new JWTInterceptor())
|
|
13
|
13
|
.addPathPatterns("/**") // 其他非登录接口都需要进行token验证
|
|
14
|
|
- .excludePathPatterns("/userInfo/login","/n-basic-edge/getEdgeData","/point-data/getPoints/{houseId}"); // 登录接口、接收边缘端数据、三维获取点的数据不用于token验证
|
|
|
14
|
+ .excludePathPatterns("/userInfo/login","/n-basic-edge/getEdgeData","/point-data/getPoints/{houseId}","/equipmentTestingEnd"); // 登录接口、接收边缘端数据、三维获取点的数据不用于token验证
|
|
15
|
15
|
|
|
16
|
16
|
}
|
|
17
|
17
|
}
|