satoken匹配规则修改
This commit is contained in:
parent
e9229ad9e1
commit
214af68ca2
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue