mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-16 16:50:43 +08:00
style: clean code
This commit is contained in:
parent
14fb847f53
commit
ecaaee96f3
@ -17,6 +17,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("qrcode_img_base64")]
|
[Newtonsoft.Json.JsonProperty("qrcode_img_base64")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("qrcode_img_base64")]
|
[System.Text.Json.Serialization.JsonPropertyName("qrcode_img_base64")]
|
||||||
public string EncodingQrcodeImage { get; set; } = default!;
|
public string EncodingQrcodeImageData { get; set; } = default!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
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>();
|
public IList<string> EnvironmentIdList { get; set; } = new List<string>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置包含函数代码文件的 zip 格式文件(需经过 Base64 编码)。
|
/// 获取或设置经 Base64 编码的包含函数代码文件的 zip 格式文件内容。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("zipfile")]
|
[Newtonsoft.Json.JsonProperty("zipfile")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("zipfile")]
|
[System.Text.Json.Serialization.JsonPropertyName("zipfile")]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
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>();
|
public IList<string> EnvironmentIdList { get; set; } = new List<string>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置包含函数代码文件的 zip 格式文件(需经过 Base64 编码)。
|
/// 获取或设置经 Base64 编码的包含函数代码文件的 zip 格式文件内容。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("zipfile")]
|
[Newtonsoft.Json.JsonProperty("zipfile")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("zipfile")]
|
[System.Text.Json.Serialization.JsonPropertyName("zipfile")]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [POST] /intp/marketcode/applycodedownload 接口的响应。</para>
|
/// <para>表示 [POST] /intp/marketcode/applycodedownload 接口的响应。</para>
|
||||||
@ -6,10 +6,10 @@
|
|||||||
public class IntpMarketCodeApplyCodeDownloadResponse : WechatApiResponse
|
public class IntpMarketCodeApplyCodeDownloadResponse : WechatApiResponse
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置文件 Buffer(已经 Base64 编码)。
|
/// 获取或设置经 Base64 编码的文件内容。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("buffer")]
|
[Newtonsoft.Json.JsonProperty("buffer")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("buffer")]
|
[System.Text.Json.Serialization.JsonPropertyName("buffer")]
|
||||||
public string FileBuffer { get; set; } = default!;
|
public string EncodingFileData { get; set; } = default!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [POST] /product/qrcode/get 接口的响应。</para>
|
/// <para>表示 [POST] /product/qrcode/get 接口的响应。</para>
|
||||||
@ -6,10 +6,10 @@
|
|||||||
public class ProductQrcodeGetResponse : WechatApiResponse
|
public class ProductQrcodeGetResponse : WechatApiResponse
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置经 Base64 编码的二维码二进制流。
|
/// 获取或设置经 Base64 编码的二维码数据。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("qrcode_buf")]
|
[Newtonsoft.Json.JsonProperty("qrcode_buf")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("qrcode_buf")]
|
[System.Text.Json.Serialization.JsonPropertyName("qrcode_buf")]
|
||||||
public string EncodingQrcodeBuffer { get; set; } = default!;
|
public string EncodingQrcodeData { get; set; } = default!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [POST] /shop/funds/qrcode/get 接口的响应。</para>
|
/// <para>表示 [POST] /shop/funds/qrcode/get 接口的响应。</para>
|
||||||
@ -6,10 +6,10 @@
|
|||||||
public class ShopFundsQrcodeGetResponse : WechatApiResponse
|
public class ShopFundsQrcodeGetResponse : WechatApiResponse
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置二维码数据(经 Base64 编码)。
|
/// 获取或设置经 Base64 编码的二维码数据。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("qrcode_buf")]
|
[Newtonsoft.Json.JsonProperty("qrcode_buf")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("qrcode_buf")]
|
[System.Text.Json.Serialization.JsonPropertyName("qrcode_buf")]
|
||||||
public string QrcodeData { get; set; } = default!;
|
public string EncodingQrcodeData { get; set; } = default!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net472; net6.0</TargetFrameworks>
|
<TargetFrameworks>net472; net6.0</TargetFrameworks>
|
||||||
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Remove=".gitignore" />
|
<None Remove=".gitignore" />
|
||||||
<None Remove="appsettings.local.json" />
|
|
||||||
<Content Include="appsettings.json">
|
<Content Include="appsettings.json">
|
||||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||||
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
|
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net472; net6.0</TargetFrameworks>
|
<TargetFrameworks>net472; net6.0</TargetFrameworks>
|
||||||
@ -10,8 +10,6 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Remove=".gitignore" />
|
<None Remove=".gitignore" />
|
||||||
<None Remove="appsettings - 复制.json" />
|
|
||||||
<None Remove="appsettings.local.json" />
|
|
||||||
<Content Include="appsettings.json">
|
<Content Include="appsettings.json">
|
||||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||||
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
|
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
|
||||||
|
Loading…
Reference in New Issue
Block a user