Skip to content

Commit 94bd262

Browse files
committed
🎨 增加若干字段
1 parent be49b10 commit 94bd262

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

weixin-java-common/src/main/java/me/chanjar/weixin/common/bean/WxOAuth2UserInfo.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,23 @@ public class WxOAuth2UserInfo implements Serializable {
2525
* nickname 普通用户昵称
2626
*/
2727
private String nickname;
28+
/**
29+
* sex 普通用户性别,1为男性,2为女性
30+
*/
31+
private Integer sex;
32+
/**
33+
* city 普通用户个人资料填写的城市
34+
*/
35+
private String city;
36+
37+
/**
38+
* province 普通用户个人资料填写的省份
39+
*/
40+
private String province;
41+
/**
42+
* country 国家,如中国为CN
43+
*/
44+
private String country;
2845
/**
2946
* headimgurl 用户头像,最后一个数值代表正方形头像大小(有0、46、64、96、132数值可选,0代表640*640正方形头像),
3047
* 用户没有头像时该项为空

0 commit comments

Comments
 (0)