satoken匹配规则修改

This commit is contained in:
张松 2025-02-08 17:05:25 +08:00
parent e9229ad9e1
commit 214af68ca2
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,8 @@ public class SaTokenConfigure implements WebMvcConfigurer {
SaRouter.match("/user/**")
.check(r -> StpKit.USER.checkLogin())
.match("/**")
.setHit(true)
// .match("/**")
.notMatch("/admin/auth/**")
.notMatch("/admin/feign/**")
.check(r -> StpKit.ADMIN.checkLogin());