update 优化 pr 代码
parent
b7c5a8a244
commit
c48eaf8618
|
|
@ -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)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue