Ejemplo n.º 1
0
 /// <summary>
 /// 获取物流单号
 /// </summary>
 /// <param name="orderId"></param>
 /// <param name="expressCompany"></param>
 /// <param name="expressCode"></param>
 /// <param name="freight"></param>
 /// <returns></returns>
 public JsonResult GetOrderExpress(string orderId)
 {
     try
     {
         OrderExpressEntity result = bll.GetOrderExpress(orderId);
         if (result != null)
         {
             return(Json(result));
         }
         else
         {
             return(Json(new { result = "0" }));
         }
     }
     catch (Exception ex)
     {
         LogHelper.Error(ex);
         return(Json(new { result = false, msg = "查询运单号失败!信息:" + ex.Message }));
     }
 }