mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-19 01:36:39 +08:00
fix 修复权限判断逻辑
This commit is contained in:
parent
8d7358e663
commit
cce95424ce
@ -67,7 +67,7 @@ public class SaPermissionImpl implements StpInterface {
|
|||||||
if (userType == UserType.APP_USER) {
|
if (userType == UserType.APP_USER) {
|
||||||
// 其他端 自行根据业务编写
|
// 其他端 自行根据业务编写
|
||||||
}
|
}
|
||||||
if (CollUtil.isNotEmpty(loginUser.getRolePermission())) {
|
if (CollUtil.isNotEmpty(loginUser.getMenuPermission())) {
|
||||||
// SYS_USER 默认返回权限
|
// SYS_USER 默认返回权限
|
||||||
return new ArrayList<>(loginUser.getMenuPermission());
|
return new ArrayList<>(loginUser.getMenuPermission());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user