//申请解封 public ActionResult applyDeblock(UserRequest ur) { ur.Request_Time = DateTime.Now; UserSql us = new UserSql(); if (us.requestDeblock(ur)) { Response.Write("申请完成,请等待"); Response.End(); } else { Response.Write("申请失败,请重试"); Response.End(); } return(View()); }