mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
Merge pull request #79 from Naccl/master
refactor(ResourceServerManager.java): 多余的 Convert
This commit is contained in:
commit
068454a357
@ -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