From d05fc8437cca140135f079652a53f722843a1f0d Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Thu, 20 Jun 2024 15:58:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(wxapi):=20=E9=9A=8F=E5=AE=98=E6=96=B9?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=A4=E6=98=93=E4=BF=9D=E9=9A=9C=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E4=BA=A4=E6=98=93=E4=BF=9D=E9=9A=9C=E6=A0=87=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=8E=A5=E5=8F=A3=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WxaApiWxaMpTradeGetGuaranteeStatusResponse.cs | 14 ++++++++++++++ ...WxaApiWxaMpTradeGetGuaranteeStatusResponse.json | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/WxaMpTrade/WxaApiWxaMpTradeGetGuaranteeStatusResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/WxaMpTrade/WxaApiWxaMpTradeGetGuaranteeStatusResponse.cs index 3a386aab..d4987315 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/WxaMpTrade/WxaApiWxaMpTradeGetGuaranteeStatusResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/WxaMpTrade/WxaApiWxaMpTradeGetGuaranteeStatusResponse.cs @@ -11,5 +11,19 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models [Newtonsoft.Json.JsonProperty("isActived")] [System.Text.Json.Serialization.JsonPropertyName("isActived")] public bool IsActived { get; set; } + + /// + /// 获取或设置保障标状态相关信息。 + /// + [Newtonsoft.Json.JsonProperty("msg")] + [System.Text.Json.Serialization.JsonPropertyName("msg")] + public string? Message { get; set; } + + /// + /// 获取或设置未能开通保障标的原因列表。 + /// + [Newtonsoft.Json.JsonProperty("reasons")] + [System.Text.Json.Serialization.JsonPropertyName("reasons")] + public string[]? ReasonList { get; set; } } } diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaApi/WxaMpTrade/WxaApiWxaMpTradeGetGuaranteeStatusResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaApi/WxaMpTrade/WxaApiWxaMpTradeGetGuaranteeStatusResponse.json index 2a833473..5560ce66 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaApi/WxaMpTrade/WxaApiWxaMpTradeGetGuaranteeStatusResponse.json +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaApi/WxaMpTrade/WxaApiWxaMpTradeGetGuaranteeStatusResponse.json @@ -1,4 +1,6 @@ { "errcode": 0, - "isActived": true + "isActived": false, + "msg": "暂未达标「交易健康标准」,已达标「交易风险评级」,可通过缴纳保证金开通", + "reasons": [ "经营时长小于3年", "保证金余额不足" ] }