Skip to content

Commit

Permalink
Merge pull request #2655 from ccccccmd/Developer
Browse files Browse the repository at this point in the history
调整批量获取客户详情返回值
  • Loading branch information
JeffreySu committed Jun 20, 2022
2 parents f186537 + 5b5600d commit 452e217
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ bak.zip
*.DotSettings
.vs
.vscode
.idea/
applicationhost.config
packages/
*/**/App_Data/SenparcTraceLog/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@
----------------------------------------------------------------*/

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
Expand All @@ -39,28 +36,42 @@ public class GetExternalContactInfoBatchResult : WorkJsonResult

public class ExternalContactList
{
public ExternalContact external_contact { get; set; }
public External_Contact 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
{
/// <summary>添加了此外部联系人的企业成员userid</summary>
public string userid { get; set; }

/// <summary>该成员对此外部联系人的备注</summary>
public string remark { get; set; }

/// <summary>该成员对此外部联系人的描述</summary>
public string description { get; set; }
public long createtime { get; set; }
public string[] tag_id { get; set; }
public string[] remark_mobiles { get; set; }

/// <summary>该成员添加此外部联系人的时间</summary>
public int createtime { get; set; }

/// <summary>企业自定义的state参数,用于区分客户具体是通过哪个「联系我」添加,由企业通过创建「联系我」方式指定</summary>
public string state { get; set; }

/// <summary>
/// 发起添加的userid,如果成员主动添加,为成员的userid;如果是客户主动添加,则为客户的外部联系人userid;如果是内部成员共享/管理员分配,则为对应的成员/管理员userid
/// </summary>
public string oper_userid { get; set; }

/// <summary>该成员添加此客户的来源</summary>
public int add_way { get; set; }

/// <summary>该成员对此客户备注的企业名称</summary>
public string remark_corp_name { get; set; }

/// <summary>该成员对此客户备注的手机号码,第三方不可获取</summary>
public string[] remark_mobiles { get; set; }

public string[] tag_id { get; set; }
}
}

0 comments on commit 452e217

Please sign in to comment.