From 5b74e741b72230f98ca0bda6353420b9e062c689 Mon Sep 17 00:00:00 2001 From: Naccl Date: Fri, 11 Mar 2022 22:43:05 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ResourceServerManager.java):=20?= =?UTF-8?q?=E5=A4=9A=E4=BD=99=E7=9A=84=20Convert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/youlai/gateway/security/ResourceServerManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youlai-gateway/src/main/java/com/youlai/gateway/security/ResourceServerManager.java b/youlai-gateway/src/main/java/com/youlai/gateway/security/ResourceServerManager.java index efd508024..23c3e4c8f 100644 --- a/youlai-gateway/src/main/java/com/youlai/gateway/security/ResourceServerManager.java +++ b/youlai-gateway/src/main/java/com/youlai/gateway/security/ResourceServerManager.java @@ -75,7 +75,7 @@ public class ResourceServerManager implements ReactiveAuthorizationManager roles = Convert.toList(String.class, permRoles.getValue()); - authorizedRoles.addAll(Convert.toList(String.class, roles)); + authorizedRoles.addAll(roles); if (requireCheck == false) { requireCheck = true; }