/// <summary> /// 异常件退回商家商家确认收货接口 /// </summary> /// <param name="accessTokenOrAppId">AccessToken或AppId(推荐使用AppId,需要先注册)</param> /// <param name="data">请求数据</param> /// <param name="timeOut">代理请求超时时间(毫秒)</param> /// <returns></returns> public static ExpressJsonResult AbnormalConfirm(string accessTokenOrAppId, AbnormalConfirmModel data, int timeOut = Config.TIME_OUT) { return(WxOpenApiHandlerWapper.TryCommonApi(accessToken => { var urlFormat = Config.ApiMpHost + "/cgi-bin/express/local/business/order/confirm_return?access_token={0}"; return CommonJsonSend.Send <ExpressJsonResult>(accessToken, urlFormat, data, timeOut: timeOut); }, accessTokenOrAppId)); }
/// <summary> /// 异常件退回商家商家确认收货接口 /// </summary> /// <param name="accessTokenOrAppId">AccessToken或AppId(推荐使用AppId,需要先注册)</param> /// <param name="data">请求数据</param> /// <param name="timeOut">代理请求超时时间(毫秒)</param> /// <returns></returns> public static async Task <ExpressJsonResult> AbnormalConfirmAsync(string accessTokenOrAppId, AbnormalConfirmModel data, int timeOut = Config.TIME_OUT) { return(await WxOpenApiHandlerWapper.TryCommonApiAsync(async accessToken => { var urlFormat = Config.ApiMpHost + "/cgi-bin/express/local/business/order/confirm_return?access_token={0}"; return await CommonJsonSend.SendAsync <ExpressJsonResult>(accessToken, urlFormat, data, timeOut: timeOut); }, accessTokenOrAppId).ConfigureAwait(false)); }