public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; NFMT.Common.UserModel user = Utility.UserUtility.CurrentUser; NFMT.Common.ResultModel result = new NFMT.Common.ResultModel(); int allotId = 0; if (!string.IsNullOrEmpty(context.Request.Form["id"])) { if (!int.TryParse(context.Request.Form["id"], out allotId)) { context.Response.Write("参数错误"); context.Response.End(); } } NFMT.Funds.BLL.ReceivableAllotBLL bll = new NFMT.Funds.BLL.ReceivableAllotBLL(); result = bll.ReceCorpComplete(user, allotId); context.Response.Write(result.Message); }