mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-04-05 08:37:22 +08:00
feat(wxapi): 随官方更新自定义菜单相关接口模型
This commit is contained in:
parent
801c85172b
commit
a1559c057f
@ -41,12 +41,19 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public string? Url { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置媒体文件标识 ID。
|
||||
/// 获取或设置媒体文件标识。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("media_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("media_id")]
|
||||
public string? MediaId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图文消息的 ArticleId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("article_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("article_id")]
|
||||
public string? ArticleId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小程序的 AppId。
|
||||
/// </summary>
|
||||
|
@ -45,12 +45,19 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public string? Url { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置媒体文件标识 ID。
|
||||
/// 获取或设置媒体文件标识。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("media_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("media_id")]
|
||||
public string? MediaId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图文消息的 ArticleId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("article_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("article_id")]
|
||||
public string? ArticleId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小程序的 AppId。
|
||||
/// </summary>
|
||||
|
@ -76,6 +76,16 @@
|
||||
"type": "view_limited",
|
||||
"name": "图文消息",
|
||||
"media_id": "MEDIA_ID2"
|
||||
},
|
||||
{
|
||||
"type": "article_id",
|
||||
"name": "发布后的图文消息",
|
||||
"article_id": "ARTICLE_ID1"
|
||||
},
|
||||
{
|
||||
"type": "article_view_limited",
|
||||
"name": "发布后的图文消息",
|
||||
"article_id": "ARTICLE_ID2"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user