mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-11 06:39:08 +00:00
update 优化 pr 代码
This commit is contained in:
@@ -33,10 +33,6 @@ public class DataPermissionHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Map<String, Object> getContext() {
|
public static Map<String, Object> getContext() {
|
||||||
/*
|
|
||||||
*借用satoken的SaStorage存储数据权限标识
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
SaStorage saStorage = SaHolder.getStorage();
|
SaStorage saStorage = SaHolder.getStorage();
|
||||||
Object attribute = saStorage.get(DATA_PERMISSION_KEY);
|
Object attribute = saStorage.get(DATA_PERMISSION_KEY);
|
||||||
if (ObjectUtil.isNull(attribute)) {
|
if (ObjectUtil.isNull(attribute)) {
|
||||||
|
Reference in New Issue
Block a user