public string OrderStatusDDS(string taobaoOrderId) { string result = string.Empty; var OrderStatusJson = new OrderStatusJson(); try { ThirdOrderRepository orderChannel = new ThirdOrderRepository(); result = orderChannel.GetOrderStatusDDS(taobaoOrderId); return(result); } catch (Exception ex) { return(result); } }
public ActionResult getOrderStatusDDS(string taobaoOrderId) { string result = string.Empty; var OrderStatusJson = new OrderStatusJson(); try { ThirdOrderRepository orderChannel = new ThirdOrderRepository(); result = orderChannel.GetOrderStatusDDS(taobaoOrderId); OrderStatusJson.OrderStatus = result; return(this.Jsonp(OrderStatusJson)); } catch (Exception ex) { return(this.Jsonp(OrderStatusJson)); } }