reset 回滚 误删方法

feature/model
疯狂的狮子Li 1 year ago
parent 7193ee08c9
commit 33c2d8e833

@ -182,4 +182,9 @@ public class LoginHelper {
public static boolean isTenantAdmin(Set<String> rolePermission) { public static boolean isTenantAdmin(Set<String> rolePermission) {
return rolePermission.contains(TenantConstants.TENANT_ADMIN_ROLE_KEY); return rolePermission.contains(TenantConstants.TENANT_ADMIN_ROLE_KEY);
} }
public static boolean isTenantAdmin() {
return isTenantAdmin(getLoginUser().getRolePermission());
}
} }

Loading…
Cancel
Save