diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayScoreBillExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayScoreBillExtensions.cs index fde4cca8..eb82a52a 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayScoreBillExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayScoreBillExtensions.cs @@ -1,7 +1,5 @@ using System; -using System.Collections.Generic; using System.Net.Http; -using System.Text; using System.Threading; using System.Threading.Tasks; using Flurl; @@ -34,9 +32,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 .SetQueryParam("tar_type", request.TarType) .SetQueryParam("algorithm", request.Algorithm); - if (!string.IsNullOrEmpty(request.TarType)) - flurlReq.SetQueryParam("tar_type", request.TarType); - return await client.SendRequestWithJsonAsync(flurlReq, cancellationToken: cancellationToken); } }