fix(tenpayv3): 修复查询分账回退结果接口 URL 错误

This commit is contained in:
Ainami
2022-05-27 10:46:24 +08:00
committed by GitHub
parent f78f80d497
commit ceac7ef386

View File

@@ -91,9 +91,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
if (request is null) throw new ArgumentNullException(nameof(request)); if (request is null) throw new ArgumentNullException(nameof(request));
IFlurlRequest flurlReq = client IFlurlRequest flurlReq = client
.CreateRequest(request, HttpMethod.Get, "profitsharing", "return-orders") .CreateRequest(request, HttpMethod.Get, "profitsharing", "return-orders", request.OutReturnNumber)
.SetQueryParam("out_order_no", request.OutOrderNumber) .SetQueryParam("out_order_no", request.OutOrderNumber);
.SetQueryParam("out_return_no", request.OutReturnNumber);
if (request.SubMerchantId != null) if (request.SubMerchantId != null)
flurlReq.SetQueryParam("sub_mchid", request.SubMerchantId); flurlReq.SetQueryParam("sub_mchid", request.SubMerchantId);