File tree Expand file tree Collapse file tree 2 files changed +31
-2
lines changed
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean Expand file tree Collapse file tree 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 {
2828 private Integer [] orders ;
2929 private String position ;
3030 private String [] positions ;
31+ /**
32+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
33+ */
3134 private String mobile ;
35+ /**
36+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
37+ */
3238 private Gender gender ;
39+ /**
40+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
41+ */
3342 private String email ;
43+ /**
44+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
45+ */
3446 private String bizMail ;
47+ /**
48+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
49+ */
3550 private String avatar ;
3651 private String thumbAvatar ;
3752 private String mainDepartment ;
@@ -41,7 +56,7 @@ public class WxCpUser implements Serializable {
4156 private String openUserId ;
4257
4358 /**
44- * 地址。长度最大128个字符
59+ * 地址。长度最大128个字符,代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
4560 */
4661 private String address ;
4762 private String avatarMediaId ;
@@ -61,6 +76,9 @@ public class WxCpUser implements Serializable {
6176 private Integer hideMobile ;
6277 private String englishName ;
6378 private String telephone ;
79+ /**
80+ * 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
81+ */
6482 private String qrCode ;
6583 private Boolean toInvite ;
6684 /**
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public class WxCpUserDetail implements Serializable {
2525 private String userId ;
2626
2727 /**
28- * 成员姓名
28+ * 成员姓名,2022年6月20号后的新应用将不再返回此字段,旧应用正常返回
2929 */
3030 private String name ;
3131
@@ -55,4 +55,15 @@ public class WxCpUserDetail implements Serializable {
5555 @ SerializedName ("qr_code" )
5656 private String qrCode ;
5757
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+
5869}
You can’t perform that action at this time.
0 commit comments