public JsonResult AddClassify([ModelBinder(typeof(JsonBinder <ClassifyData>))] ClassifyData cfy) { var data = new JsonResult(); try { String name = cfy.name; if (name != "") { object ans = DesignHelper.MaintainClassify(name: name); data.Data = ans; } else { data.Data = new { status = "0x03", msg = "数据不能为空" }; } } catch { data.Data = new { status = "0x02", msg = "传入数据的格式不正确" }; } return(data); }