Skip to content

Commit

Permalink
🎨 #2428 【企业微信】用户管理接口添加官方新引入的直属领导字段
Browse files Browse the repository at this point in the history
  • Loading branch information
sunzsh authored Dec 8, 2021
1 parent e2f370e commit ce8bf30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public class WxCpUser implements Serializable {
private String externalCorpName;
private WechatChannels wechatChannels;

private String[] directLeader;



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public WxCpUser deserialize(JsonElement json, Type typeOfT, JsonDeserializationC
user.setToInvite(GsonHelper.getBoolean(o, "to_invite"));
user.setOpenUserId(GsonHelper.getString(o, "open_userid"));
user.setMainDepartment(GsonHelper.getString(o, "main_department"));
user.setDirectLeader(GsonHelper.getStringArray(o, "direct_leader"));

if (GsonHelper.isNotNull(o.get(EXTRA_ATTR))) {
this.buildExtraAttrs(o, user);
Expand Down

0 comments on commit ce8bf30

Please sign in to comment.