mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🎨 #2428 【企业微信】用户管理接口添加官方新引入的直属领导字段
This commit is contained in:
parent
e2f370eedc
commit
ce8bf302fa
@ -70,6 +70,7 @@ public class WxCpUser implements Serializable {
|
||||
private String externalCorpName;
|
||||
private WechatChannels wechatChannels;
|
||||
|
||||
private String[] directLeader;
|
||||
|
||||
|
||||
|
||||
|
@ -89,6 +89,7 @@ public class WxCpUserGsonAdapter implements JsonDeserializer<WxCpUser>, JsonSeri
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user