mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-11-01 00:46:54 +08:00 
			
		
		
		
	🎨 #2428 【企业微信】用户管理接口添加官方新引入的直属领导字段
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sunzsh
					sunzsh