satoken匹配规则修改

This commit is contained in:
张松
2025-02-08 17:06:47 +08:00
parent 214af68ca2
commit f9a3d37bb1

View File

@@ -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());