|
|
@@ -2,6 +2,7 @@ package com.kym.miniapp.config;
|
|
|
|
|
|
import cn.dev33.satoken.interceptor.SaInterceptor;
|
|
|
import cn.dev33.satoken.stp.StpUtil;
|
|
|
+import org.springframework.context.annotation.Configuration;
|
|
|
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|
|
|
|
|
@@ -10,7 +11,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|
|
* @description 权限校验
|
|
|
* @date 2023-07-11 21:49
|
|
|
*/
|
|
|
-//@Configuration
|
|
|
+@Configuration
|
|
|
public class SaTokenConfigure implements WebMvcConfigurer {
|
|
|
// 注册拦截器
|
|
|
@Override
|
|
|
@@ -23,14 +24,9 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
|
|
"/error",
|
|
|
"/user/wxLogin",
|
|
|
"/user/refresh",
|
|
|
- "/charge/pullEnStations/*",
|
|
|
- "/charge/notification_stationStatus",
|
|
|
- "/charge/notification_start_charge_result",
|
|
|
- "/charge/notification_start_charge_status",
|
|
|
- "/charge/notification_equip_charge_status",
|
|
|
- "/charge/notification_stop_charge_result",
|
|
|
- "/charge/notification_charge_order_info"
|
|
|
+ "/payment/notify",
|
|
|
+ "/payment/refundNotify"
|
|
|
);
|
|
|
}
|
|
|
|
|
|
-}
|
|
|
+}
|