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