public bool AddPoi(CreateStoreData createStoreData) { WxJsonResult wxJsonResult = PoiApi.AddPoi(_accessToken, createStoreData, 10000); if (wxJsonResult.errcode != ReturnCode.请求成功) { throw new Exception(wxJsonResult.errmsg); } return(true); }
public bool AddPoi(CreateStoreData createStoreData) { var result = PoiApi.AddPoi(this._accessToken, createStoreData); if (result.errcode != 0) { throw new Exception(result.errmsg); } return(true); }
public static WxJsonResult CreateWXStore(CreateStoreData createStoreData) { return(PoiApi.AddPoi(WXStoreHelper.siteSettings.WeixinAppId, createStoreData, 10000)); }