コード例 #1
0
ファイル: WxOffStoreApi.cs プロジェクト: yyf919/OSS.Social
        /// <summary>
        ///   修改门店基础信息
        /// </summary>
        /// <param name="serviceReq"></param>
        /// <returns></returns>
        public WxBaseResp UpdateStoreBaicService(WxUpdateStoreBasicServiceReq serviceReq)
        {
            var req = new OsHttpRequest();

            req.HttpMothed = HttpMothed.POST;
            req.AddressUrl = Concat(m_ApiUrl, "/cgi-bin/poi/updatepoi");
            req.CustomBody = JsonConvert.SerializeObject(serviceReq);

            return(RestCommonOffcial <WxGetStoreResp>(req));
        }
コード例 #2
0
        /// <summary>
        ///   修改门店基础信息
        /// </summary>
        /// <param name="serviceReq"></param>
        /// <returns></returns>
        public async Task <WxBaseResp> UpdateStoreBaicServiceAsync(WxUpdateStoreBasicServiceReq serviceReq)
        {
            var req = new OsHttpRequest();

            req.HttpMethod = HttpMethod.Post;
            req.AddressUrl = String.Concat(m_ApiUrl, "/cgi-bin/poi/updatepoi");
            req.CustomBody = JsonConvert.SerializeObject(serviceReq);

            return(await RestCommonOffcialAsync <WxGetStoreResp>(req));
        }