nacos feign
This commit is contained in:
@@ -56,6 +56,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
||||
|
||||
SaRouter.match("/admin/**")
|
||||
.notMatch("/admin/auth/**")
|
||||
.notMatch("/admin/feign/**")
|
||||
.check(r -> StpKit.ADMIN.checkLogin());
|
||||
SaRouter.match("/user/**").check(r -> StpKit.USER.checkLogin());
|
||||
})).addPathPatterns("/**");
|
||||
|
||||
Reference in New Issue
Block a user