From b0375509c121fd33fc827e3cfa72f9133e46f3ad Mon Sep 17 00:00:00 2001 From: JeffreySu Date: Thu, 2 Feb 2023 23:58:40 +0800 Subject: [PATCH] =?UTF-8?q?v0.6.8.14=20=E4=BF=AE=E5=A4=8D=20PayScoreApis.Q?= =?UTF-8?q?ueryServiceOrderAsync()=20=E9=87=8D=E5=A4=8D=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=20=E6=84=9F=E8=B0=A2=20[QQ1=E7=BE=A4=20Tony]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Senparc.Weixin.TenPayV3/Apis/PayScore/PayScoreApis.cs | 4 +++- .../Senparc.Weixin.TenPayV3.net7.csproj | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/PayScoreApis.cs b/src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/PayScoreApis.cs index 9e360b9d91..5ccabe4578 100644 --- a/src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/PayScoreApis.cs +++ b/src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/PayScoreApis.cs @@ -27,6 +27,8 @@ and limitations under the License. 创建标识:Senparc - 20210926 + 修改标识:Senparc - 20220202 + 修改描述:v0.6.8.14 修复 PayScoreApis.QueryServiceOrderAsync() 重复代码 ----------------------------------------------------------------*/ using Senparc.CO2NET.Extensions; @@ -214,7 +216,7 @@ public async Task QueryServiceOrderAsync(string out var url = ReurnPayApiUrl($"{Senparc.Weixin.Config.TenPayV3Host}/{{0}}v3/payscore/serviceorder?service_id={service_id}&appid={appid}"); url += query_id is not null ? $"&query_id={query_id}" : ""; - url += query_id is not null ? $"&query_id={query_id}" : ""; + //url += query_id is not null ? $"&query_id={query_id}" : ""; TenPayApiRequest tenPayApiRequest = new(_tenpayV3Setting); return await tenPayApiRequest.RequestAsync(url, null, timeOut, ApiRequestMethod.GET); diff --git a/src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Senparc.Weixin.TenPayV3.net7.csproj b/src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Senparc.Weixin.TenPayV3.net7.csproj index cc1409b29d..9bd405c918 100644 --- a/src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Senparc.Weixin.TenPayV3.net7.csproj +++ b/src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Senparc.Weixin.TenPayV3.net7.csproj @@ -40,6 +40,7 @@ v0.6.8.7 优化 TenPayApiResultCode 获取逻辑,修复 TryGetCode() 方法中当匹配不到预设错误信息时,返回 null 的问题 v0.6.8.8 修复 RefundQueryAsync() URL 问题 v0.6.8.13 修复验签时 204(NoContent)情况下的异常 + v0.6.8.14 修复 PayScoreApis.QueryServiceOrderAsync() 重复代码 https://github.com/JeffreySu/WeiXinMPSDK