public GetStoreBaseInfo GetPoi(string poiId) { GetStoreResultJson poi = PoiApi.GetPoi(_accessToken, poiId, 10000); if (poi.errcode != ReturnCode.请求成功) { throw new Exception(poi.errmsg); } return(poi.business.base_info); }
public GetStoreBaseInfo GetPoi(string poiId) { var result = PoiApi.GetPoi(this._accessToken, poiId); if (result.errcode != 0) { throw new Exception(result.errmsg); } return(result.business.base_info); }
public static GetStoreResultJson GetPoi(string poiId) { return(PoiApi.GetPoi(WXStoreHelper.siteSettings.WeixinAppId, poiId, 10000)); }