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