/// <summary> /// 修改邮费模板 /// </summary> /// <param name="accessToken"></param> /// <param name="upDateExpressData">修改邮费模板需要Post的数据</param> /// <returns></returns> public static WxJsonResult UpDateExpress(string accessToken, UpDateExpressData upDateExpressData) { var urlFormat = Config.ApiMpHost + "/merchant/express/update?access_token={0}"; return(CommonJsonSend.Send <WxJsonResult>(accessToken, urlFormat, upDateExpressData)); }
/// <summary> /// 【异步方法】修改邮费模板 /// </summary> /// <param name="accessToken"></param> /// <param name="upDateExpressData">修改邮费模板需要Post的数据</param> /// <returns></returns> public static async Task <WxJsonResult> UpDateExpressAsync(string accessToken, UpDateExpressData upDateExpressData) { var urlFormat = Config.ApiMpHost + "/merchant/express/update?access_token={0}"; return(await Senparc.Weixin.CommonAPIs.CommonJsonSend.SendAsync <WxJsonResult>(accessToken, urlFormat, upDateExpressData)); }
/// <summary> /// 修改邮费模板 /// </summary> /// <param name="accessToken"></param> /// <param name="upDateExpressData">修改邮费模板需要Post的数据</param> /// <returns></returns> public static WxJsonResult UpDateExpress(string accessToken, UpDateExpressData upDateExpressData) { var urlFormat = "https://api.weixin.qq.com/merchant/express/update?access_token={0}"; return CommonJsonSend.Send<WxJsonResult>(accessToken, urlFormat, upDateExpressData); }
/// <summary> /// 修改邮费模板 /// </summary> /// <param name="accessToken"></param> /// <param name="upDateExpressData">修改邮费模板需要Post的数据</param> /// <returns></returns> public static WxJsonResult UpDateExpress(string accessToken, UpDateExpressData upDateExpressData) { var urlFormat = "https://api.weixin.qq.com/merchant/express/update?access_token={0}"; return(CommonJsonSend.Send <WxJsonResult>(accessToken, urlFormat, upDateExpressData)); }
/// <summary> /// 【异步方法】修改邮费模板 /// </summary> /// <param name="accessToken"></param> /// <param name="upDateExpressData">修改邮费模板需要Post的数据</param> /// <returns></returns> public static async Task<WxJsonResult> UpDateExpressAsync(string accessToken, UpDateExpressData upDateExpressData) { var urlFormat = "https://api.weixin.qq.com/merchant/express/update?access_token={0}"; return await Senparc.Weixin.CommonAPIs.CommonJsonSend.SendAsync<WxJsonResult>(accessToken, urlFormat, upDateExpressData); }