mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-16 07:59:44 +08:00
fix(work): 修复创建或获取通讯录成员时的请求模型定义错误
This commit is contained in:
parent
38738e2b47
commit
79e7b0535f
@ -154,6 +154,16 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("title")]
|
||||
public string Title { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class WechatChannels
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置视频号名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("nickname")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("nickname")]
|
||||
public string Nickname { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -164,11 +174,11 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
public string? CorpName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置视频号名称。
|
||||
/// 获取或设置视频号信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("wechat_channels")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("wechat_channels")]
|
||||
public string? WechatChannels { get; set; }
|
||||
public Types.WechatChannels? WechatChannels { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置对外自定义字段列表。
|
||||
|
@ -154,6 +154,23 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("title")]
|
||||
public string Title { get; set; } = default!;
|
||||
}
|
||||
|
||||
public class WechatChannels
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置对外展示视频号状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("nickname")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("nickname")]
|
||||
public string? Nickname { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置对外展示视频号状态。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("status")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
public int? Status { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -164,11 +181,11 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
public string CorpName { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置视频号名称。
|
||||
/// 获取或设置视频号信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("wechat_channels")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("wechat_channels")]
|
||||
public string? WechatChannels { get; set; }
|
||||
public Types.WechatChannels? WechatChannels { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置对外自定义字段列表。
|
||||
|
@ -36,7 +36,9 @@
|
||||
"external_position": "高级产品经理",
|
||||
"external_profile": {
|
||||
"external_corp_name": "企业简称",
|
||||
"wechat_channels": "视频号名称",
|
||||
"wechat_channels": {
|
||||
"nickname": "视频号名称"
|
||||
},
|
||||
"external_attr": [
|
||||
{
|
||||
"type": 0,
|
||||
|
@ -41,7 +41,10 @@
|
||||
"external_position": "产品经理",
|
||||
"external_profile": {
|
||||
"external_corp_name": "企业简称",
|
||||
"wechat_channels": "视频号名称",
|
||||
"wechat_channels": {
|
||||
"nickname": "视频号名称",
|
||||
"status": 1
|
||||
},
|
||||
"external_attr": [
|
||||
{
|
||||
"type": 0,
|
||||
|
@ -44,6 +44,10 @@
|
||||
"external_position": "产品经理",
|
||||
"external_profile": {
|
||||
"external_corp_name": "企业简称",
|
||||
"wechat_channels": {
|
||||
"nickname": "视频号名称",
|
||||
"status": 1
|
||||
},
|
||||
"external_attr": [
|
||||
{
|
||||
"type": 0,
|
||||
|
Loading…
Reference in New Issue
Block a user