|
|
@@ -20,7 +20,16 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
|
|
registry.addInterceptor(new SaInterceptor(handle -> StpUtil.checkLogin()))
|
|
|
.addPathPatterns("/**")
|
|
|
// login/refresh接口不鉴权
|
|
|
- .excludePathPatterns("/user/wxLogin","/user/refresh");
|
|
|
+ .excludePathPatterns(
|
|
|
+ "/user/wxLogin",
|
|
|
+ "/user/refresh",
|
|
|
+ "/charge/pullEnStations",
|
|
|
+ "/charge/notification_stationStatus",
|
|
|
+ "/charge/notification_start_charge_result",
|
|
|
+ "/charge/notification_start_charge_status",
|
|
|
+ "/charge/notification_stop_charge_result",
|
|
|
+ "/charge/notification_charge_order_info"
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
}
|