mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-20 02:29:40 +08:00
fix(tenpayv3): 修复商户进件接口路径错误
This commit is contained in:
@@ -27,7 +27,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
|
||||
|
||||
// NOTICE: 注意本接口 URL 结尾的反斜杠不能删除
|
||||
IFlurlRequest flurlReq = client
|
||||
.CreateFlurlRequest(request, HttpMethod.Post, "applyment4sub", "applyment", "");
|
||||
.CreateFlurlRequest(request, HttpMethod.Post, "applyment4sub", "applyment/");
|
||||
|
||||
return await client.SendFlurlRequestAsJsonAsync<Models.CreateApplyForSubMerchantApplymentResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||
}
|
||||
|
@@ -107,7 +107,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
|
||||
|
||||
// NOTICE: 注意本接口 URL 结尾的反斜杠不能删除
|
||||
IFlurlRequest flurlReq = client
|
||||
.CreateFlurlRequest(request, HttpMethod.Post, "ecommerce", "applyments", "");
|
||||
.CreateFlurlRequest(request, HttpMethod.Post, "ecommerce", "applyments/");
|
||||
|
||||
return await client.SendFlurlRequestAsJsonAsync<Models.CreateEcommerceApplymentResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user