public ActionResult UpdateApplyStatus(int applyId, int toStatus) { bool success = false; success = studentApplyBll.UpdateApplyStatus(applyId, toStatus, (int)ApplyStatusEnum.申请, CurrentUser.Teacher.Yoh_Id); string msg = success ? "保存成功" : "保存失败"; return(Json(new JsonSimpleResponse() { State = success, ErrorMsg = msg })); }