mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
feat(work): 随官方更新设置工作台自定义展示相关接口模型
This commit is contained in:
parent
7301b8a1aa
commit
f0c0245de1
@ -97,6 +97,27 @@
|
||||
[Newtonsoft.Json.JsonProperty("pagepath")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("pagepath")]
|
||||
public string? MiniProgramPagePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置高度类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("height")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("height")]
|
||||
public string? HeightType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否隐藏标题。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("hide_title")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("hide_title")]
|
||||
public bool? RequireHideTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否开启 WebView 内的链接跳转能力。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("enable_webview_click")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("enable_webview_click")]
|
||||
public bool? EnableWebviewClick { get; set; }
|
||||
}
|
||||
|
||||
public class ListTemplate
|
||||
|
@ -99,6 +99,27 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[Newtonsoft.Json.JsonProperty("pagepath")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("pagepath")]
|
||||
public string? MiniProgramPagePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置高度类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("height")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("height")]
|
||||
public string? HeightType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否隐藏标题。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("hide_title")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("hide_title")]
|
||||
public bool? RequireHideTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否开启 WebView 内的链接跳转能力。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("enable_webview_click")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("enable_webview_click")]
|
||||
public bool? EnableWebviewClick { get; set; }
|
||||
}
|
||||
|
||||
public class ListTemplate
|
||||
|
@ -55,7 +55,10 @@
|
||||
"webview": {
|
||||
"url": "http://www.qq.com",
|
||||
"jump_url": "http://www.qq.com",
|
||||
"pagepath": "pages/index"
|
||||
"pagepath": "pages/index",
|
||||
"height":"single_row",
|
||||
"hide_title":true,
|
||||
"enable_webview_click":true
|
||||
},
|
||||
"replace_user_data": true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user