style: clean code

This commit is contained in:
Fu Diwei 2023-03-13 16:22:07 +08:00
parent 14fb847f53
commit ecaaee96f3
8 changed files with 16 additions and 19 deletions

View File

@ -17,6 +17,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[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!;
}
}

View File

@ -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<string> EnvironmentIdList { get; set; } = new List<string>();
/// <summary>
/// 获取或设置包含函数代码文件的 zip 格式文件(需经过 Base64 编码)
/// 获取或设置经 Base64 编码的包含函数代码文件的 zip 格式文件内容
/// </summary>
[Newtonsoft.Json.JsonProperty("zipfile")]
[System.Text.Json.Serialization.JsonPropertyName("zipfile")]

View File

@ -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<string> EnvironmentIdList { get; set; } = new List<string>();
/// <summary>
/// 获取或设置包含函数代码文件的 zip 格式文件(需经过 Base64 编码)
/// 获取或设置经 Base64 编码的包含函数代码文件的 zip 格式文件内容
/// </summary>
[Newtonsoft.Json.JsonProperty("zipfile")]
[System.Text.Json.Serialization.JsonPropertyName("zipfile")]

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /intp/marketcode/applycodedownload 接口的响应。</para>
@ -6,10 +6,10 @@
public class IntpMarketCodeApplyCodeDownloadResponse : WechatApiResponse
{
/// <summary>
/// 获取或设置文件 Buffer已经 Base64 编码)
/// 获取或设置经 Base64 编码的文件内容
/// </summary>
[Newtonsoft.Json.JsonProperty("buffer")]
[System.Text.Json.Serialization.JsonPropertyName("buffer")]
public string FileBuffer { get; set; } = default!;
public string EncodingFileData { get; set; } = default!;
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /product/qrcode/get 接口的响应。</para>
@ -6,10 +6,10 @@
public class ProductQrcodeGetResponse : WechatApiResponse
{
/// <summary>
/// 获取或设置经 Base64 编码的二维码二进制流
/// 获取或设置经 Base64 编码的二维码数据
/// </summary>
[Newtonsoft.Json.JsonProperty("qrcode_buf")]
[System.Text.Json.Serialization.JsonPropertyName("qrcode_buf")]
public string EncodingQrcodeBuffer { get; set; } = default!;
public string EncodingQrcodeData { get; set; } = default!;
}
}

View File

@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /shop/funds/qrcode/get 接口的响应。</para>
@ -6,10 +6,10 @@
public class ShopFundsQrcodeGetResponse : WechatApiResponse
{
/// <summary>
/// 获取或设置二维码数据(经 Base64 编码)
/// 获取或设置经 Base64 编码的二维码数据
/// </summary>
[Newtonsoft.Json.JsonProperty("qrcode_buf")]
[System.Text.Json.Serialization.JsonPropertyName("qrcode_buf")]
public string QrcodeData { get; set; } = default!;
public string EncodingQrcodeData { get; set; } = default!;
}
}

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net472; net6.0</TargetFrameworks>
@ -10,7 +10,6 @@
<ItemGroup>
<None Remove=".gitignore" />
<None Remove="appsettings.local.json" />
<Content Include="appsettings.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
<CopyToPublishDirectory>Never</CopyToPublishDirectory>

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net472; net6.0</TargetFrameworks>
@ -10,8 +10,6 @@
<ItemGroup>
<None Remove=".gitignore" />
<None Remove="appsettings - 复制.json" />
<None Remove="appsettings.local.json" />
<Content Include="appsettings.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
<CopyToPublishDirectory>Never</CopyToPublishDirectory>