From 0dce3033de36fb3d7e48611ecc2deb40a106620b Mon Sep 17 00:00:00 2001 From: bayuzhen Date: Mon, 26 Aug 2024 14:58:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0ukey=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=8E=A5=E5=8F=A3=E7=99=BD=E5=90=8D=E5=8D=95?= 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 b86ce9c..2aff99f 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$","^POST:/v1/token/check$", + "^GET:/v1/login/detail$", "^GET:/v1/trx/randomstr$", "^POST:/v1/trx/login$", "^POST:/v1/trx/logout$", "^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)); });