From fc55cabfc5a85edaec6337b6ba60e173ae669b21 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Thu, 2 Mar 2023 22:11:59 +0800 Subject: [PATCH] feat(tenpayv2): bump version to v2.2.2 --- CHANGELOG.md | 4 +++ ...KIT.FlurlHttpClient.Wechat.TenpayV2.csproj | 2 +- .../Deposit/GetDepositRefundResponse.json | 29 ++++++++++--------- 3 files changed, 21 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b2bfa779..210200bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -458,6 +458,10 @@ [展开查看] +- Release 2.2.2 + + - **修复**:修复酒店押金查询退款接口响应反序列化不正确的问题。(_via_ [GitHub #82](https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat/issues/82)) + - Release 2.2.1 - **变更**:升级公共组件至 v2.6.0。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV2/SKIT.FlurlHttpClient.Wechat.TenpayV2.csproj b/src/SKIT.FlurlHttpClient.Wechat.TenpayV2/SKIT.FlurlHttpClient.Wechat.TenpayV2.csproj index 21a7b1eb..72f46554 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV2/SKIT.FlurlHttpClient.Wechat.TenpayV2.csproj +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV2/SKIT.FlurlHttpClient.Wechat.TenpayV2.csproj @@ -14,7 +14,7 @@ MIT https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat Flurl.Http Wechat Weixin MicroMessage Tenpay WechatPay WeixinPay Wxpay 微信 微信支付 微信商户 - 2.2.1 + 2.2.2 基于 Flurl.Http 的微信支付 API v2 版客户端,支持普通商户、境内服务商、银行服务商、跨境支付模式,仅包含微信支付未提供 v3 版 API 的部分功能,同时支持企业微信中企业支付相关的部分功能。如需微信支付 v3 版 API 客户端,欢迎使用 `SKIT.FlurlHttpClient.Wechat.TenpayV3`。 Fu Diwei git diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests/ModelSamples/Deposit/GetDepositRefundResponse.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests/ModelSamples/Deposit/GetDepositRefundResponse.json index 70151dfa..1ab807c8 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests/ModelSamples/Deposit/GetDepositRefundResponse.json +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests/ModelSamples/Deposit/GetDepositRefundResponse.json @@ -1,15 +1,18 @@ -{ - "appid": "wx2421b1c4370ec43b", - "mch_id": "10000100", - "nonce_str": "TeqClE3i0mvn3DrK", - "out_refund_no_0": "1415701182", - "out_trade_no": "1415757673", - "refund_count": "1", - "refund_fee_0": "1", - "refund_status_0": "PROCESSING", - "result_code": "SUCCESS", +{ "return_code": "SUCCESS", - "return_msg": "OK", - "sign": "1F2841558E233C33ABA71A961D27561C", - "transaction_id": "1008450740201411110005820873" + "result_code": "SUCCESS", + "appid": "wx1a************", + "mch_id": "1515********", + "sub_mch_id": "152********", + "nonce_str": "0t1K************", + "sign": "51D8C0093****************************************", + "transaction_id": "4200************************", + "out_trade_no": "DEMO****************", + "total_fee": "10", + "settlement_total_fee": "2", + "fee_type": "CNY", + "out_refund_no": "DEMO****************", + "refund_id": "503****************************", + "refund_fee": "2", + "refund_status": "SUCCESS" }