Exemplo n.º 1
0
        private List <Baichuan.Api.Domain.Carriage> doGetShanghaiShippingFee(string open_iid)
        {
            //_statsd.LogCount("Wrangler.APIBaiChuan.GetProductDetail.count");
            //using (_statsd.LogTiming("Wrangler.APIBaiChuan.GetProductDetail.timing"))
            //{

            //}

            Baichuan.Api.Request.TaeItemDetailGetRequest req = new Baichuan.Api.Request.TaeItemDetailGetRequest();
            req.BuyerIp = "116.228.30.1";
            req.Fields  = "deliveryInfo";
            req.Id      = open_iid;
            return(baichuanClient.Execute(req).Data.DeliveryInfo.CarriageList);
        }
Exemplo n.º 2
0
        public Baichuan.Api.Response.TaeItemDetailGetResponse GetProductDetail(string open_iid)
        {
            //_statsd.LogCount("Wrangler.APIBaiChuan.GetProductDetail.count");
            //using (_statsd.LogTiming("Wrangler.APIBaiChuan.GetProductDetail.timing"))
            //{

            //}

            Baichuan.Api.Request.TaeItemDetailGetRequest req = new Baichuan.Api.Request.TaeItemDetailGetRequest();
            req.BuyerIp = "116.228.30.1";
            req.Fields  = "itemInfo,priceInfo,skuInfo,stockInfo,descInfo,sellerInfo,mobileDescInfo,deliveryInfo,storeInfo,itemBuyInfo,couponInfo";
            req.Id      = open_iid;
            var result = baichuanClient.Execute(req);

            return(result);
        }