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
348b51343e
commit
cc444a668f
@ -15,70 +15,8 @@
|
||||
{
|
||||
}
|
||||
|
||||
public class FollowUser
|
||||
public class FollowUser : CgibinExternalContactGetResponse.Types.FollowUser
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置该成员对外部联系人的备注。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("remark")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("remark")]
|
||||
public string Remark { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置该成员对外部联系人的备注企业名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("remark_corp_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("remark_corp_name")]
|
||||
public string? RemarkCompany { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置该成员对外部联系人的备注手机号码列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("remark_mobiles")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("remark_mobiles")]
|
||||
public string[]? RemarkMobileNumberList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置该成员对外部联系人的描述。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("description")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("description")]
|
||||
public string Description { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置该成员添加外部联系人所打企业标签 ID 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("tag_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("tag_id")]
|
||||
public string[] TagIdList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置该成员添加外部联系人的来源。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("add_way")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("add_way")]
|
||||
public int AddWay { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置该成员添加外部联系人的时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("createtime")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("createtime")]
|
||||
public long CreateTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置企业自定义渠道参数。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("state")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("state")]
|
||||
public string? State { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置发起添加的成员账号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("oper_userid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("oper_userid")]
|
||||
public string? OperateUserId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -168,6 +168,16 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("group_name")]
|
||||
public string? TagGroupName { get; set; }
|
||||
}
|
||||
|
||||
public class WechatChannels
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置视频号昵称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("nickname")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("nickname")]
|
||||
public string? Nickname { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -210,7 +220,14 @@
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("tags")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("tags")]
|
||||
public Types.Tag[]? Tags { get; set; }
|
||||
public Types.Tag[]? TagList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置该成员添加外部联系人所打企业标签 ID 列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("tag_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("tag_id")]
|
||||
public string[]? TagIdList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置该成员添加外部联系人的来源。
|
||||
@ -239,6 +256,13 @@
|
||||
[Newtonsoft.Json.JsonProperty("oper_userid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("oper_userid")]
|
||||
public string? OperateUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置视频号信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("wechat_channels")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("wechat_channels")]
|
||||
public Types.WechatChannels? WechatChannels { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -43,17 +43,18 @@
|
||||
}
|
||||
},
|
||||
"follow_info": {
|
||||
"userid": "rocky",
|
||||
"remark": "李部长",
|
||||
"description": "对接采购事务",
|
||||
"createtime": 1525779812,
|
||||
"tag_id": [ "etAJ2GCAAAXtWyujaWJHDDGi0mACHAAA" ],
|
||||
"tag_id": ["etAJ2GCAAAXtWyujaWJHDDGi0mACHAAA"],
|
||||
"remark_corp_name": "腾讯科技",
|
||||
"remark_mobiles": [
|
||||
"13800000001",
|
||||
"13000000002"
|
||||
],
|
||||
"remark_mobiles": ["13800000001", "13000000002"],
|
||||
"oper_userid": "rocky",
|
||||
"add_way": 1
|
||||
"add_way": 10,
|
||||
"wechat_channels": {
|
||||
"nickname": "视频号名称"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -69,10 +70,11 @@
|
||||
"unionid": "ozynqsulJFCZ2asdaf8h-nuasdAAA"
|
||||
},
|
||||
"follow_info": {
|
||||
"userid": "lisi",
|
||||
"remark": "王助理",
|
||||
"description": "采购问题咨询",
|
||||
"createtime": 1525881637,
|
||||
"tag_id": [ "etAJ2GCAAAXtWyujaWJHDDGi0mACHAAA" ],
|
||||
"tag_id": ["etAJ2GCAAAXtWyujaWJHDDGi0mACHAAA", "stJHDDGi0mAGi0mACHBBByujaW"],
|
||||
"state": "外联二维码1",
|
||||
"oper_userid": "woAJ2GCAAAd1asdasdjO4wKmE8AabjBBB",
|
||||
"add_way": 3
|
||||
|
@ -14,14 +14,8 @@
|
||||
"unionid": "ozynqsulJFCZ2z1aYeS8h-nuasdAAA",
|
||||
"is_subscribe": 1,
|
||||
"subscriber_info": {
|
||||
"tag_id": [
|
||||
"TAG_ID1",
|
||||
"TAG_ID2"
|
||||
],
|
||||
"remark_mobiles": [
|
||||
"10000000000",
|
||||
"10000000001"
|
||||
],
|
||||
"tag_id": ["TAG_ID1", "TAG_ID2"],
|
||||
"remark_mobiles": ["10000000000", "10000000001"],
|
||||
"remark": "李小明-爸爸"
|
||||
},
|
||||
"external_profile": {
|
||||
@ -68,12 +62,12 @@
|
||||
}
|
||||
],
|
||||
"remark_corp_name": "腾讯科技",
|
||||
"remark_mobiles": [
|
||||
"13800000001",
|
||||
"13000000002"
|
||||
],
|
||||
"remark_mobiles": ["13800000001", "13000000002"],
|
||||
"oper_userid": "rocky",
|
||||
"add_way": 1
|
||||
"add_way": 10,
|
||||
"wechat_channels": {
|
||||
"nickname": "视频号名称"
|
||||
}
|
||||
},
|
||||
{
|
||||
"userid": "tommy",
|
||||
@ -86,4 +80,4 @@
|
||||
}
|
||||
],
|
||||
"next_cursor": "NEXT_CUROSR"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user