/// <summary> /// 用户权限检查 /// </summary> /// <param name="adminPower">管理员权限</param> /// <returns></returns> protected void CheckPower(AdminPower adminPower) { if (!AdminPowers.Contains((int)adminPower)) { WebUtil.AlertNoPower(); } }