자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/// <summary> /// 根据页面操作码判断权限 /// </summary> /// <param name="operateCode"></param> /// <returns></returns> public static bool AccessCheck(OperateCode operateCode) { return(PEContext.Current.Admin.IsSuperAdmin || IsInRole(dal.GetRoleListByOperateCode(operateCode))); }