fix 修复权限判断逻辑

This commit is contained in:
AprilWind 2025-07-26 16:40:07 +08:00
parent 8d7358e663
commit cce95424ce

View File

@ -67,7 +67,7 @@ public class SaPermissionImpl implements StpInterface {
if (userType == UserType.APP_USER) {
// 其他端 自行根据业务编写
}
if (CollUtil.isNotEmpty(loginUser.getRolePermission())) {
if (CollUtil.isNotEmpty(loginUser.getMenuPermission())) {
// SYS_USER 默认返回权限
return new ArrayList<>(loginUser.getMenuPermission());
} else {