diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerBindResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerBindResponse.cs index 1c535393..7fd10385 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerBindResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerBindResponse.cs @@ -17,6 +17,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models /// [Newtonsoft.Json.JsonProperty("qrcode_img_base64")] [System.Text.Json.Serialization.JsonPropertyName("qrcode_img_base64")] - public string EncodingQrcodeImage { get; set; } = default!; + public string EncodingQrcodeImageData { get; set; } = default!; } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/ComponentTCB/SCF/ComponentTCBBatchUploadSCFCodeRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/ComponentTCB/SCF/ComponentTCBBatchUploadSCFCodeRequest.cs index cb1f51ff..6b435662 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/ComponentTCB/SCF/ComponentTCBBatchUploadSCFCodeRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/ComponentTCB/SCF/ComponentTCBBatchUploadSCFCodeRequest.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { @@ -29,7 +29,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models public IList EnvironmentIdList { get; set; } = new List(); /// - /// 获取或设置包含函数代码文件的 zip 格式文件(需经过 Base64 编码)。 + /// 获取或设置经 Base64 编码的包含函数代码文件的 zip 格式文件内容。 /// [Newtonsoft.Json.JsonProperty("zipfile")] [System.Text.Json.Serialization.JsonPropertyName("zipfile")] diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/ComponentTCB/SCF/ComponentTCBBatchUploadSCFRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/ComponentTCB/SCF/ComponentTCBBatchUploadSCFRequest.cs index b981d5e8..8e67864c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/ComponentTCB/SCF/ComponentTCBBatchUploadSCFRequest.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/ComponentTCB/SCF/ComponentTCBBatchUploadSCFRequest.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { @@ -29,7 +29,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models public IList EnvironmentIdList { get; set; } = new List(); /// - /// 获取或设置包含函数代码文件的 zip 格式文件(需经过 Base64 编码)。 + /// 获取或设置经 Base64 编码的包含函数代码文件的 zip 格式文件内容。 /// [Newtonsoft.Json.JsonProperty("zipfile")] [System.Text.Json.Serialization.JsonPropertyName("zipfile")] diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/IntpMarketCode/IntpMarketCodeApplyCodeDownloadResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/IntpMarketCode/IntpMarketCodeApplyCodeDownloadResponse.cs index 0e3ca865..7e98bb9e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/IntpMarketCode/IntpMarketCodeApplyCodeDownloadResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/IntpMarketCode/IntpMarketCodeApplyCodeDownloadResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /intp/marketcode/applycodedownload 接口的响应。 @@ -6,10 +6,10 @@ public class IntpMarketCodeApplyCodeDownloadResponse : WechatApiResponse { /// - /// 获取或设置文件 Buffer(已经 Base64 编码)。 + /// 获取或设置经 Base64 编码的文件内容。 /// [Newtonsoft.Json.JsonProperty("buffer")] [System.Text.Json.Serialization.JsonPropertyName("buffer")] - public string FileBuffer { get; set; } = default!; + public string EncodingFileData { get; set; } = default!; } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Qrcode/ProductQrcodeGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Qrcode/ProductQrcodeGetResponse.cs index d7055c62..0874683a 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Qrcode/ProductQrcodeGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Qrcode/ProductQrcodeGetResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /product/qrcode/get 接口的响应。 @@ -6,10 +6,10 @@ public class ProductQrcodeGetResponse : WechatApiResponse { /// - /// 获取或设置经 Base64 编码的二维码二进制流。 + /// 获取或设置经 Base64 编码的二维码数据。 /// [Newtonsoft.Json.JsonProperty("qrcode_buf")] [System.Text.Json.Serialization.JsonPropertyName("qrcode_buf")] - public string EncodingQrcodeBuffer { get; set; } = default!; + public string EncodingQrcodeData { get; set; } = default!; } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/Funds/Qrcode/ShopFundsQrcodeGetResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/Funds/Qrcode/ShopFundsQrcodeGetResponse.cs index 6ca4d542..20cf70da 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/Funds/Qrcode/ShopFundsQrcodeGetResponse.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/Funds/Qrcode/ShopFundsQrcodeGetResponse.cs @@ -1,4 +1,4 @@ -namespace SKIT.FlurlHttpClient.Wechat.Api.Models +namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /shop/funds/qrcode/get 接口的响应。 @@ -6,10 +6,10 @@ public class ShopFundsQrcodeGetResponse : WechatApiResponse { /// - /// 获取或设置二维码数据(经 Base64 编码)。 + /// 获取或设置经 Base64 编码的二维码数据。 /// [Newtonsoft.Json.JsonProperty("qrcode_buf")] [System.Text.Json.Serialization.JsonPropertyName("qrcode_buf")] - public string QrcodeData { get; set; } = default!; + public string EncodingQrcodeData { get; set; } = default!; } } diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayBusiness.UnitTests/SKIT.FlurlHttpClient.Wechat.TenpayBusiness.UnitTests.csproj b/test/SKIT.FlurlHttpClient.Wechat.TenpayBusiness.UnitTests/SKIT.FlurlHttpClient.Wechat.TenpayBusiness.UnitTests.csproj index 71d1d177..9ea72ead 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.TenpayBusiness.UnitTests/SKIT.FlurlHttpClient.Wechat.TenpayBusiness.UnitTests.csproj +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayBusiness.UnitTests/SKIT.FlurlHttpClient.Wechat.TenpayBusiness.UnitTests.csproj @@ -1,4 +1,4 @@ - + net472; net6.0 @@ -10,7 +10,6 @@ - Never Never diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests.csproj b/test/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests.csproj index 369731d6..3f6a5c1c 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests.csproj +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests/SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests.csproj @@ -1,4 +1,4 @@ - + net472; net6.0 @@ -10,8 +10,6 @@ - - Never Never