public JsonResult EditAuditSend(string Id, string repairpeople) { var reid = new Guid(Id); var wxrid = repairpeople; string statuscode = "1"; string msg = ""; if (ModelState.IsValid) { try { rp.EditRepairPeopleSend(reid, wxrid); } catch (Exception ex) { statuscode = "0"; msg = ex.ToString(); } } JsonResult rlt = new JsonResult { Data = new { statuscode, msg } }; return(Json(rlt, JsonRequestBehavior.AllowGet)); }