🎨 #1953 【企业微信】更新通讯录接口增加new_userid字段

This commit is contained in:
Binary Wang 2021-01-10 23:31:43 +08:00
parent fb7ecd4715
commit fee15ff8d2
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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());
}