/// <summary> /// 审核升级 /// </summary> /// <param name="cklst"></param> /// <returns></returns> public ActionResult toAuditUpgrade(int[] cklst) { if (cklst == null || cklst.Length <= 0) { return(Content("请勾选你要审核的人")); } string rtn = C_UserUpGradeVM.AuditByIDs(cklst); return(Content(rtn)); }
public ActionResult toAuditUpgrade_a(int id) { if (id <= 0) { return(Content("您要审核什么?")); } int[] cklst = new int[] { id }; string rtn = C_UserUpGradeVM.AuditByIDs(cklst); return(Content(rtn)); }
public ActionResult GetNoPromote(int ID) { int[] IDS = { ID }; string msg = "出错了!!"; if (C_UserUpGradeVM.GetNoPromote(IDS)) { msg = "ok"; } return(Content(msg)); }
public ActionResult GetPromote(int ID) { int[] IDS = { ID }; string msg = C_UserUpGradeVM.AuditByIDs(IDS); if (string.IsNullOrWhiteSpace(msg)) { msg = "ok"; } return(Content(msg)); }
/// <summary> /// 升级详情 /// </summary> /// <param name="id"></param> /// <returns></returns> public ActionResult UpgradeDetail(int id) { C_UserUpGradeVM models = C_UserUpGradeVM.getVMByID(id); if (models.ParentUser != CurrentUser.UserName) { return(View(ErrorPage.ViewName, new ErrorPage { Message = "找不到路啦" })); } return(View(models)); }