satoken匹配规则修改
This commit is contained in:
@@ -58,6 +58,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
||||
.check(r -> StpKit.USER.checkLogin())
|
||||
.setHit(true)
|
||||
// .match("/**")
|
||||
.notMatch("/user/**")
|
||||
.notMatch("/admin/auth/**")
|
||||
.notMatch("/admin/feign/**")
|
||||
.check(r -> StpKit.ADMIN.checkLogin());
|
||||
|
||||
Reference in New Issue
Block a user