From e8403ef59dc92dc8cb137aba169e1c2efe6198fa Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Wed, 23 Feb 2022 20:54:06 +0800 Subject: [PATCH] =?UTF-8?q?feat(tenpayv2):=20=E5=8D=87=E7=BA=A7=E5=85=AC?= =?UTF-8?q?=E5=85=B1=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Newtonsoft.Json/Object/FlattenNArrayObjectConverterBase.cs | 2 +- .../SKIT.FlurlHttpClient.Wechat.TenpayV2.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV2/Converters/Internal/Newtonsoft.Json/Object/FlattenNArrayObjectConverterBase.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV2/Converters/Internal/Newtonsoft.Json/Object/FlattenNArrayObjectConverterBase.cs index c1e82d95..44e197f9 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV2/Converters/Internal/Newtonsoft.Json/Object/FlattenNArrayObjectConverterBase.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV2/Converters/Internal/Newtonsoft.Json/Object/FlattenNArrayObjectConverterBase.cs @@ -140,7 +140,7 @@ namespace Newtonsoft.Json.Converters if (!(jsonContractProperty.ShouldSerialize == null || jsonContractProperty.ShouldSerialize(value))) continue; - string propertyName = jsonContractProperty.PropertyName; + string propertyName = jsonContractProperty.PropertyName!; object? propertyValue = jsonContractProperty.ValueProvider?.GetValue(value); if (propertyValue is null) { 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 44269593..aa1e6e2e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV2/SKIT.FlurlHttpClient.Wechat.TenpayV2.csproj +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV2/SKIT.FlurlHttpClient.Wechat.TenpayV2.csproj @@ -41,7 +41,7 @@ - + \ No newline at end of file