mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
fix(work): 修复更新模版卡片消息接口模型参数缺失问题
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||||
{
|
{
|
||||||
@@ -40,8 +40,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置应用 ID。如果不指定将使用构造 <see cref="WechatWorkClient"/> 时的 <see cref="WechatWorkClientOptions.AgentId"/> 参数。
|
/// 获取或设置应用 ID。如果不指定将使用构造 <see cref="WechatWorkClient"/> 时的 <see cref="WechatWorkClientOptions.AgentId"/> 参数。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonIgnore]
|
[Newtonsoft.Json.JsonProperty("agentid")]
|
||||||
[System.Text.Json.Serialization.JsonIgnore]
|
[System.Text.Json.Serialization.JsonPropertyName("agentid")]
|
||||||
public int? AgentId { get; set; }
|
public int? AgentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||||
{
|
{
|
||||||
@@ -69,18 +69,18 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("auth_corpid")]
|
[System.Text.Json.Serialization.JsonPropertyName("auth_corpid")]
|
||||||
public string AuthorizerCorpId { get; set; } = string.Empty;
|
public string AuthorizerCorpId { get; set; } = string.Empty;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取或设置应用 ID。
|
|
||||||
/// </summary>
|
|
||||||
[Newtonsoft.Json.JsonProperty("agentid")]
|
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("agentid")]
|
|
||||||
public int? AgentId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置搜索请求列表。
|
/// 获取或设置搜索请求列表。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("query_request_list")]
|
[Newtonsoft.Json.JsonProperty("query_request_list")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("query_request_list")]
|
[System.Text.Json.Serialization.JsonPropertyName("query_request_list")]
|
||||||
public IList<Types.QueryRequest>? QueryRequestList { get; set; }
|
public IList<Types.QueryRequest>? QueryRequestList { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置授权方安装的应用 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("agentid")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("agentid")]
|
||||||
|
public int? AgentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [POST] /cgi-bin/service/contact/search 接口的请求。</para>
|
/// <para>表示 [POST] /cgi-bin/service/contact/search 接口的请求。</para>
|
||||||
@@ -19,13 +19,6 @@
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("auth_corpid")]
|
[System.Text.Json.Serialization.JsonPropertyName("auth_corpid")]
|
||||||
public string AuthorizerCorpId { get; set; } = string.Empty;
|
public string AuthorizerCorpId { get; set; } = string.Empty;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取或设置应用 ID。
|
|
||||||
/// </summary>
|
|
||||||
[Newtonsoft.Json.JsonProperty("agentid")]
|
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("agentid")]
|
|
||||||
public int? AgentId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置搜索关键词。
|
/// 获取或设置搜索关键词。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -67,5 +60,12 @@
|
|||||||
[Newtonsoft.Json.JsonProperty("limit")]
|
[Newtonsoft.Json.JsonProperty("limit")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("limit")]
|
[System.Text.Json.Serialization.JsonPropertyName("limit")]
|
||||||
public int? Limit { get; set; }
|
public int? Limit { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置授权方安装的应用 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("agentid")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("agentid")]
|
||||||
|
public int? AgentId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"userids": ["userid1", "userid2"],
|
"userids": ["userid1", "userid2"],
|
||||||
"partyids": [2, 3],
|
"partyids": [2, 3],
|
||||||
"tagids": [44, 55],
|
"tagids": [44, 55],
|
||||||
|
|||||||
Reference in New Issue
Block a user