public IHttpActionResult GetOrganizeInfo(int id) { try { OrganizeService os = new OrganizeService(); sys_organize entry = os.Find(id); return(Json(new { code = 1, msg = "ok", node = entry })); } catch (Exception e) { return(Json(new { code = 0, msg = e.Message })); } }