/// <summary> /// 得到一条运输方式信息 /// </summary> /// <param name="dto"></param> /// <returns></returns> public ActionResult GetTransport(int id) { ResultData <TransportResultDTO> result = new ResultData <TransportResultDTO>(); try { result = BaseInfoProvider.GetTransport(id); } catch (Exception ex) { result.SubmitResult = false; result.Message = ex.Message; } return(Json(result, JsonRequestBehavior.AllowGet)); }