This commit is contained in:
2026-08-26 18:18:13 +08:00
parent 3b2bb94e9e
commit 75df99e219
3 changed files with 42 additions and 5 deletions
+20
View File
@@ -262,6 +262,24 @@ namespace BLL
}
#endregion
#region Id判断
#region ID判断是超管
/// <summary>
/// 根据用户ID判断是超管
/// </summary>
/// <returns></returns>
public static bool IsSuperAdminManage(string userId)
{
bool result = false;
if (userId == Const.luofeiId || userId == Const.shizhiyangId || userId == Const.hfnbdId || userId == Const.sysglyId)
{//罗菲、史志扬、管理员账号
result = true;
}
return result;
}
#endregion
#region
/// <summary>
/// 获取当前人是否具有按钮操作权限
@@ -425,6 +443,8 @@ namespace BLL
}
#endregion
#endregion
#region
/// <summary>
///根据主键删除附件