mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-02-14 12:06:21 +08:00
feat(work): 新增获取企业上下游通讯录下的企业信息接口
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/corpgroup/corp/get_chain_corpinfo 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class CgibinCorpGroupCorpGetChainCorpInfoRequest : WechatWorkRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置上下游 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("chain_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("chain_id")]
|
||||
public string ChainId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置下级企业 CorpId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("corpid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("corpid")]
|
||||
public string CorpId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/corpgroup/corp/get_chain_corpinfo 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class CgibinCorpGroupCorpGetChainCorpInfoResponse : WechatWorkResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分组 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("groupid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("groupid")]
|
||||
public int GroupId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置自定义 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("custom_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("custom_id")]
|
||||
public string? CustomId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user