mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 10:08:20 +08:00
fix(wxapi): 修复生成小程序码的接口模型定义问题
This commit is contained in:
@@ -40,7 +40,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("path")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("path")]
|
||||
public string? Path { get; set; }
|
||||
public string? PagePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置二维码的宽度(单位:像素)。
|
||||
|
@@ -6,13 +6,55 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /wxa/getwxacodeunlimit 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class WxaGetWxaCodeUnlimitRequest : WxaGetWxaCodeRequest
|
||||
public class WxaGetWxaCodeUnlimitRequest : WechatApiRequest
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Color : WxaGetWxaCodeRequest.Types.Color
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置扫码场景值。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("scene")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("scene")]
|
||||
public string Scene { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置扫码进入的小程序页面路径。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("page")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("page")]
|
||||
public string? PagePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置二维码的宽度(单位:像素)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("width")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("width")]
|
||||
public int? Width { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否自动配置线条颜色。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("auto_color")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("auto_color")]
|
||||
public bool? IsAutoColor { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置线条颜色信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("line_color")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("line_color")]
|
||||
public Types.Color? LineColor { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否需要透明底色。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("is_hyaline")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("is_hyaline")]
|
||||
public bool? IsHyaline { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user