コード例 #1
0
        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);
            }
        }
コード例 #2
0
        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));
            }
        }