mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🎨 #1953 【企业微信】更新通讯录接口增加new_userid字段
This commit is contained in:
parent
fb7ecd4715
commit
fee15ff8d2
@ -22,6 +22,7 @@ public class WxCpUser implements Serializable {
|
||||
private static final long serialVersionUID = -5696099236344075582L;
|
||||
|
||||
private String userId;
|
||||
private String newUserId;
|
||||
private String name;
|
||||
private Long[] departIds;
|
||||
private Integer[] orders;
|
||||
|
@ -189,6 +189,9 @@ public class WxCpUserGsonAdapter implements JsonDeserializer<WxCpUser>, JsonSeri
|
||||
if (user.getUserId() != null) {
|
||||
o.addProperty("userid", user.getUserId());
|
||||
}
|
||||
if (user.getNewUserId() != null) {
|
||||
o.addProperty("new_userid", user.getNewUserId());
|
||||
}
|
||||
if (user.getName() != null) {
|
||||
o.addProperty("name", user.getName());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user