Merge branch 'master' of github.com:youlaitech/youlai-mall

This commit is contained in:
郝先瑞 2022-03-20 23:58:46 +08:00
commit 022d88a4f1

View File

@ -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;
}