mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-26 12:49:28 +08:00
fixed: 后台数据权限bug
This commit is contained in:
@@ -54,6 +54,9 @@ public class BackendBus {
|
||||
}
|
||||
|
||||
public static String valueHidden(String permissionSlug, String type, String value) {
|
||||
if (BCtx.isNull()) {//非后管环境返回原值
|
||||
return value;
|
||||
}
|
||||
HashMap<String, Boolean> permissions = BCtx.getAdminPer();
|
||||
if (permissions.get(permissionSlug) != null) {
|
||||
return value;
|
||||
|
||||
Reference in New Issue
Block a user