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