mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 04:39:00 +08:00
refactor(data): 数据权限查询角色优化
This commit is contained in:
1 parent
0d798c328f
commit
536be6fb15
1 file changed
+1
-1
+1
-1
@@ -66,7 +66,7 @@ public class PigxDefaultDataScopeHandle implements DataScopeHandle {
|
||||
}
|
||||
|
||||
// 获取用户角色ID列表
|
||||
List<Long> roleIdList = user.getRoleIds();
|
||||
List<Long> roleIdList = SecurityUtils.getRoleIds();
|
||||
if (CollUtil.isEmpty(roleIdList)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user