public ActionResult deleteFile() { var id = Request["data1"]; string[] arr = id.Split('/'); string strErr = ""; if (ContractMan.DellNewFile(arr[0], ref strErr) == true) { return(Json(new { success = "true", Msg = "删除成功" })); } else { return(Json(new { success = "false", Msg = "删除出错" + "/" + strErr })); } }