return new JsonResult() { Data = new { message = "成功!", }, JsonRequestBehavior = JsonRequestBehavior.AllowGet//加上这一句 };