-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2254 from JeffreySu/Developer
Developer
- Loading branch information
Showing
12 changed files
with
421 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
...nparc.Weixin.Work/AdvancedAPIs/External/ExternalJson/GetExternalContactInfoBatchResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/*---------------------------------------------------------------- | ||
Copyright (C) 2020 Senparc | ||
文件名:GetExternalContactInfoBatchResult.cs | ||
文件功能描述:批量获取客户详情 返回结果 | ||
创建标识:gokeiyou - 20201013 | ||
----------------------------------------------------------------*/ | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Senparc.Weixin.Entities; | ||
|
||
namespace Senparc.Weixin.Work.AdvancedAPIs.External.ExternalJson | ||
{ | ||
/// <summary> | ||
/// 批量获取客户详情 返回结果 | ||
/// </summary> | ||
public class GetExternalContactInfoBatchResult : WorkJsonResult | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public List<ExternalContactList> external_contact_list { get; set; } | ||
|
||
/// <summary> | ||
/// 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空 | ||
/// </summary> | ||
public string next_cursor { get; set; } | ||
} | ||
|
||
public class ExternalContactList | ||
{ | ||
public ExternalContact external_contact { get; set; } | ||
public FollowUser follow_info { get; set; } | ||
} | ||
|
||
|
||
public class ExternalContact | ||
{ | ||
public string external_userid { get; set; } | ||
public string name { get; set; } | ||
public int type { get; set; } | ||
public string avatar { get; set; } | ||
public int gender { get; set; } | ||
public string unionid { get; set; } | ||
} | ||
|
||
public class FollowUser | ||
{ | ||
public string remark { get; set; } | ||
public string description { get; set; } | ||
public long creattime { get; set; } | ||
public string[] tag_id { get; set; } | ||
public string[] remark_mobiles { get; set; } | ||
public int add_way { get; set; } | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...rk/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalJson/GetExternalContactListResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/*---------------------------------------------------------------- | ||
Copyright (C) 2020 Senparc | ||
文件名:GetExternalContactInfoBatchResult.cs | ||
文件功能描述:批量获取客户详情 返回结果 | ||
创建标识:gokeiyou - 20201013 | ||
----------------------------------------------------------------*/ | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Senparc.Weixin.Entities; | ||
|
||
namespace Senparc.Weixin.Work.AdvancedAPIs.External.ExternalJson | ||
{ | ||
/// <summary> | ||
/// 获取客户列表返回实体 | ||
/// </summary> | ||
public class GetExternalContactListResult : WorkJsonResult | ||
{ | ||
/// <summary> | ||
/// 外部联系人的userid列表 | ||
/// </summary> | ||
public List<string> external_userid { get; set; } | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...parc.Weixin.Work/AdvancedAPIs/External/ExternalJson/UpdateExternalContactRemarkRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/*---------------------------------------------------------------- | ||
Copyright (C) 2020 Senparc | ||
文件名:GetExternalContactInfoBatchResult.cs | ||
文件功能描述:批量获取客户详情 返回结果 | ||
创建标识:gokeiyou - 20201013 | ||
----------------------------------------------------------------*/ | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Senparc.Weixin.Work.AdvancedAPIs.External.ExternalJson | ||
{ | ||
public class UpdateExternalContactRemarkRequest | ||
{ | ||
/// <summary> | ||
/// 企业成员的userid | ||
/// </summary> | ||
public string userid { get; set; } | ||
/// <summary> | ||
/// 外部联系人userid | ||
/// </summary> | ||
public string external_userid { get; set; } | ||
/// <summary> | ||
/// 此用户对外部联系人的备注,最多20个字符 | ||
/// </summary> | ||
public string remark { get; set; } | ||
/// <summary> | ||
/// 此用户对外部联系人的描述,最多150个字符 | ||
/// </summary> | ||
public string description { get; set; } | ||
/// <summary> | ||
/// 此用户对外部联系人备注的所属公司名称,最多20个字符 | ||
/// </summary> | ||
public string remark_company { get; set; } | ||
/// <summary> | ||
/// 此用户对外部联系人备注的手机号 | ||
/// </summary> | ||
public string[] remark_mobiles { get; set; } | ||
/// <summary> | ||
/// 备注图片的mediaid | ||
/// </summary> | ||
public string remark_pic_mediaid { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.