mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-02-11 18:26:20 +08:00
feat(wxapi): 随官方更新获取订阅消息个人模板列表的接口模型
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /wxaapi/newtmpl/gettemplate 接口的响应。</para>
|
||||
@@ -9,6 +9,26 @@
|
||||
{
|
||||
public class Template
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class KeywordEnumValue
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置枚举参数的 Key。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("keywordCode")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("keywordCode")]
|
||||
public string KeywordCode { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置枚举参数值列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("enumValueList")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("enumValueList")]
|
||||
public string[] EnumValueList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置添加至帐号下的模板 ID。
|
||||
/// </summary>
|
||||
@@ -43,6 +63,13 @@
|
||||
[Newtonsoft.Json.JsonProperty("example")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("example")]
|
||||
public string? Example { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置枚举参数值范围列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("keywordEnumValueList")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("keywordEnumValueList")]
|
||||
public Types.KeywordEnumValue[]? KeywordEnumValueList { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user