Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
einsitang committed Jan 9, 2020
1 parent 537aeb9 commit 69540fa
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 @@ -27,6 +27,7 @@ public class WxCpUser implements Serializable {
private Gender gender;
private String email;
private String avatar;
private String thumbAvatar;
/**
* 地址。长度最大128个字符
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public WxCpUser deserialize(JsonElement json, Type typeOfT, JsonDeserializationC
user.setGender(Gender.fromCode(GsonHelper.getString(o, "gender")));
user.setEmail(GsonHelper.getString(o, "email"));
user.setAvatar(GsonHelper.getString(o, "avatar"));
user.setThumbAvatar(GsonHelper.getString(o, "thumb_avatar"));
user.setAddress(GsonHelper.getString(o, "address"));
user.setAvatarMediaId(GsonHelper.getString(o, "avatar_mediaid"));
user.setStatus(GsonHelper.getInteger(o, "status"));
Expand Down

0 comments on commit 69540fa

Please sign in to comment.