From 827df3ad555797cd09e0bd1cb399c6e6eb040cb4 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Tue, 20 Jul 2021 19:27:39 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix(tenpayv3):=20=E4=BF=AE=E5=A4=8D=20`Veri?= =?UTF-8?q?fyEventSignature`=20=E6=89=A9=E5=B1=95=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E7=9A=84=E5=86=97=E4=BD=99=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WechatTenpayClientEventVerificationExtensions.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientEventVerificationExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientEventVerificationExtensions.cs index 8c51113a..884bb5ac 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientEventVerificationExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientEventVerificationExtensions.cs @@ -13,7 +13,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_1.shtml /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_1.shtml /// - /// /// /// 微信回调通知中的 Wechatpay-Timestamp 字段。 /// 微信回调通知中的 Wechatpay-Nonce 字段。 @@ -21,14 +20,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// 微信回调通知中的 Wechatpay-Signature 字段。 /// 微信回调通知中的 Wechatpay-Serial 字段。 /// - public static bool VerifyEventSignature( + public static bool VerifyEventSignature( this WechatTenpayClient client, string callbackTimestamp, string callbackNonce, string callbackBody, string callbackSignature, string callbackSerialNumber) - where TResponse : WechatTenpayResponse { if (client == null) throw new ArgumentNullException(nameof(client)); if (callbackTimestamp == null) throw new ArgumentNullException(nameof(callbackTimestamp)); From fce57cc0d6b373f20a52d44927abf7aa4167a025 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Tue, 20 Jul 2021 19:27:47 +0800 Subject: [PATCH 2/3] feat(tenpayv3): bump version --- .../SKIT.FlurlHttpClient.Wechat.TenpayV3.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/SKIT.FlurlHttpClient.Wechat.TenpayV3.csproj b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/SKIT.FlurlHttpClient.Wechat.TenpayV3.csproj index 482f7c76..b86bffe8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/SKIT.FlurlHttpClient.Wechat.TenpayV3.csproj +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/SKIT.FlurlHttpClient.Wechat.TenpayV3.csproj @@ -12,7 +12,7 @@ MIT https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat Flurl.Http Wechat Weixin MicroMessage Tenpay WechatPay WeixinPay Wxpay 微信 微信支付 微信商户 - 1.3.0 + 1.3.1 Flurl.Http client for Wechat Tenpay API. 基于 Flurl.Http 的微信支付 API v3 版客户端,支持直连商户、服务商模式,支持基础支付、代金券、商家券、委托营销、消费卡、支付有礼、微信支付分、微信先享卡、支付即服务、点金计划、智慧商圈、电商收付通、消费者投诉等功能。 Fu Diwei git From bc16da49c68eccea9402524b27876a8febe88630 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Tue, 20 Jul 2021 19:27:54 +0800 Subject: [PATCH 3/3] docs: edit CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10a4ea50..a41c1018 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,7 +38,7 @@ SKIT.FlurlHttpClient.Wechat.TenpayV3 更新日志 -- Release 1.3.0 +- Release 1.3.1 - **新增**:新增批量转账到零钱相关接口。