private string updateBorrowBiaoNum(HttpContext context) { Json jsonResult = new Json(); string orderno = context.Request["orderno"]; string macNum = context.Request["macNum"]; int result = ms.updateBorrowBiaoNum(orderno, macNum); if (result > 0) { jsonResult.Success = true; jsonResult.Msg = "添加成功"; } else { jsonResult.Success = false; jsonResult.Msg = "添加失败"; } string strJson = JsonConvert.SerializeObject(jsonResult); return(strJson); }