File tree 2 files changed +31
-2
lines changed
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean 2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,25 @@ public class WxCpUser implements Serializable {
28
28
private Integer [] orders ;
29
29
private String position ;
30
30
private String [] positions ;
31
+ /**
32
+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
33
+ */
31
34
private String mobile ;
35
+ /**
36
+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
37
+ */
32
38
private Gender gender ;
39
+ /**
40
+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
41
+ */
33
42
private String email ;
43
+ /**
44
+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
45
+ */
34
46
private String bizMail ;
47
+ /**
48
+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
49
+ */
35
50
private String avatar ;
36
51
private String thumbAvatar ;
37
52
private String mainDepartment ;
@@ -41,7 +56,7 @@ public class WxCpUser implements Serializable {
41
56
private String openUserId ;
42
57
43
58
/**
44
- * 地址。长度最大128个字符
59
+ * 地址。长度最大128个字符,代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
45
60
*/
46
61
private String address ;
47
62
private String avatarMediaId ;
@@ -61,6 +76,9 @@ public class WxCpUser implements Serializable {
61
76
private Integer hideMobile ;
62
77
private String englishName ;
63
78
private String telephone ;
79
+ /**
80
+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
81
+ */
64
82
private String qrCode ;
65
83
private Boolean toInvite ;
66
84
/**
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public class WxCpUserDetail implements Serializable {
25
25
private String userId ;
26
26
27
27
/**
28
- * 成员姓名
28
+ * 成员姓名,2022年6月20号后的新应用将不再返回此字段,旧应用正常返回
29
29
*/
30
30
private String name ;
31
31
@@ -55,4 +55,15 @@ public class WxCpUserDetail implements Serializable {
55
55
@ SerializedName ("qr_code" )
56
56
private String qrCode ;
57
57
58
+ /**
59
+ * 企业邮箱,仅在用户同意snsapi_privateinfo授权时返回,2022年6月20号后的新应用将返回
60
+ */
61
+ @ SerializedName ("biz_mail" )
62
+ private String bizMail ;
63
+
64
+ /**
65
+ * 地址,仅在用户同意snsapi_privateinfo授权时返回,2022年6月20号后的新应用将返回
66
+ */
67
+ private String address ;
68
+
58
69
}
You can’t perform that action at this time.
0 commit comments