Skip to content

Commit

Permalink
🎨 #2199 【小程序】WxMaUserInfo类补充openId和unionId字段
Browse files Browse the repository at this point in the history
  • Loading branch information
wisty authored Jul 12, 2021
1 parent 44e8f22 commit 69b9ec0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@
public class WxMaUserInfo implements Serializable {
private static final long serialVersionUID = 6719822331555402137L;

private String openId;
private String nickName;
private String gender;
private String language;
private String city;
private String province;
private String country;
private String avatarUrl;
/**
* 不绑定开放平台不会返回这个字段
*/
private String unionId;
private Watermark watermark;

public static WxMaUserInfo fromJson(String json) {
Expand Down

0 comments on commit 69b9ec0

Please sign in to comment.