update 工单,通知相关接口调试修改
This commit is contained in:
@@ -215,6 +215,7 @@ public class AuthLogic {
|
||||
{
|
||||
if (requiresRoles.logical() == Logical.AND)
|
||||
{
|
||||
|
||||
checkRoleAnd(requiresRoles.value());
|
||||
}
|
||||
else
|
||||
@@ -248,6 +249,8 @@ public class AuthLogic {
|
||||
public void checkRoleOr(String... roles)
|
||||
{
|
||||
Set<String> roleList = getRoleList();
|
||||
System.out.println("从token获取的role"+roleList +"需要的权限"+roles);
|
||||
|
||||
for (String role : roles)
|
||||
{
|
||||
if (hasRole(roleList, role))
|
||||
|
||||
Reference in New Issue
Block a user