mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 13:03:43 +08:00
refactor(ResourceServerManager.java): 多余的 Convert
This commit is contained in:
parent
2a7351d69f
commit
5b74e741b7
@ -75,7 +75,7 @@ public class ResourceServerManager implements ReactiveAuthorizationManager<Autho
|
||||
String perm = permRoles.getKey();
|
||||
if (pathMatcher.match(perm, restfulPath)) {
|
||||
List<String> roles = Convert.toList(String.class, permRoles.getValue());
|
||||
authorizedRoles.addAll(Convert.toList(String.class, roles));
|
||||
authorizedRoles.addAll(roles);
|
||||
if (requireCheck == false) {
|
||||
requireCheck = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user