satoken匹配规则修改
This commit is contained in:
@@ -56,7 +56,8 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
|||||||
|
|
||||||
SaRouter.match("/user/**")
|
SaRouter.match("/user/**")
|
||||||
.check(r -> StpKit.USER.checkLogin())
|
.check(r -> StpKit.USER.checkLogin())
|
||||||
.match("/**")
|
.setHit(true)
|
||||||
|
// .match("/**")
|
||||||
.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