Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public static GetStoreResultJson GetPoi(string poiId)
 {
     return(PoiApi.GetPoi(WXStoreHelper.siteSettings.WeixinAppId, poiId, 10000));
 }