update 工单,通知相关接口调试修改

This commit is contained in:
yyb
2025-06-25 16:31:34 +08:00
parent 315079e5d1
commit 0b2decafc9
23 changed files with 356 additions and 114 deletions

View File

@@ -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))