From 9691147e7522efdfc9e52f1c1b219d57a17ccd0b Mon Sep 17 00:00:00 2001 From: guyuliang Date: Thu, 22 Aug 2024 13:59:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BE=9B=E7=BB=99=E5=A4=96=E9=83=A8?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84token=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/bocloud/sms/booter/config/WhiteApiCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bocloud.sms.booter/src/main/java/com/bocloud/sms/booter/config/WhiteApiCache.java b/bocloud.sms.booter/src/main/java/com/bocloud/sms/booter/config/WhiteApiCache.java index 7c55615..b86ce9c 100644 --- a/bocloud.sms.booter/src/main/java/com/bocloud/sms/booter/config/WhiteApiCache.java +++ b/bocloud.sms.booter/src/main/java/com/bocloud/sms/booter/config/WhiteApiCache.java @@ -31,7 +31,7 @@ public class WhiteApiCache implements InitializingBean { taskExecutor.execute(() -> { //设置白名单 List whiteList = Lists.newArrayList("^GET:/v1/users/permissions$", - "^GET:/v1/login/detail$", "^GET:/v1/messages$", "^GET:/v1/token$", + "^GET:/v1/login/detail$", "^GET:/v1/messages$", "^GET:/v1/token$","^POST:/v1/token/check$", "^POST:/v1/users/logout$", "^POST:/v1/tenants/logout$", "^GET:/v1/config/license$", "^GET:/v1/roles/ids$"); redisTemplate.opsForValue().set("permission_white", JSONObject.toJSONString(whiteList)); });