From f9a3d37bb1d228450fe63a9dd7c382b0897f9b3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9D=BE?= <8605635+zhang3064194730@user.noreply.gitee.com> Date: Sat, 8 Feb 2025 17:06:47 +0800 Subject: [PATCH] =?UTF-8?q?satoken=E5=8C=B9=E9=85=8D=E8=A7=84=E5=88=99?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/czg/config/SaTokenConfigure.java | 1 + 1 file changed, 1 insertion(+) diff --git a/cash-common/cash-common-sa-token/src/main/java/com/czg/config/SaTokenConfigure.java b/cash-common/cash-common-sa-token/src/main/java/com/czg/config/SaTokenConfigure.java index 72e41369..546bfad2 100644 --- a/cash-common/cash-common-sa-token/src/main/java/com/czg/config/SaTokenConfigure.java +++ b/cash-common/cash-common-sa-token/src/main/java/com/czg/config/SaTokenConfigure.java @@ -58,6 +58,7 @@ public class SaTokenConfigure implements WebMvcConfigurer { .check(r -> StpKit.USER.checkLogin()) .setHit(true) // .match("/**") + .notMatch("/user/**") .notMatch("/admin/auth/**") .notMatch("/admin/feign/**") .check(r -> StpKit.ADMIN.checkLogin());