/// <summary> /// 根据Nick获取店铺完整信息 /// </summary> public FullShopInfo GetFullShopInfoByNick(string nick) { ITopClient client = new TopRestClient("http://gw.api.taobao.com/router/rest", "12001666", "e121148ca8d31bc28a4743241b74c2bd", "json"); ShopGetRequest req = new ShopGetRequest(); req.Fields = "sid,cid,title,nick,desc,bulletin,pic_path,created,modified"; req.Nick = nick; Shop shop = client.Execute(req, new ShopJsonParser()); return GetFacadeObjectByDomain(shop); }
/// <summary> /// 根据Nick获取店铺完整信息 /// </summary> public FullShopInfo GetFullShopInfoByNick(string nick) { ITopClient client = new TopRestClient("http://gw.api.taobao.com/router/rest", "12001666", "e121148ca8d31bc28a4743241b74c2bd", "json"); ShopGetRequest req = new ShopGetRequest(); req.Fields = "sid,cid,title,nick,desc,bulletin,pic_path,created,modified"; req.Nick = nick; Shop shop = client.Execute(req, new ShopJsonParser()); return(GetFacadeObjectByDomain(shop)); }