修复权限接口

This commit is contained in:
TinyAnts 2022-04-20 11:59:47 +08:00
parent 716a5b10a1
commit 9872ee7cbd
1 changed files with 5 additions and 0 deletions

View File

@ -155,7 +155,12 @@ public class SystemAdminServiceImpl implements ISystemAdminService {
}
}
}
// 没有权限
if (auths.size() <= 0) {
auths.add("");
}
} else {
// 所有权限
auths.add("*");
}