🎨 #2854【企业微信】获取访问用户敏感信息接口中增加地址和企业邮箱字段

This commit is contained in:
nadirvishun 2022-10-25 17:45:13 +08:00 committed by GitHub
parent 31d446a6bd
commit df759717cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 2 deletions

View File

@ -28,10 +28,25 @@ public class WxCpUser implements Serializable {
private Integer[] orders;
private String position;
private String[] positions;
/**
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段需要在获取访问用户敏感信息接口中获取
*/
private String mobile;
/**
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段需要在获取访问用户敏感信息接口中获取
*/
private Gender gender;
/**
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段需要在获取访问用户敏感信息接口中获取
*/
private String email;
/**
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段需要在获取访问用户敏感信息接口中获取
*/
private String bizMail;
/**
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段需要在获取访问用户敏感信息接口中获取
*/
private String avatar;
private String thumbAvatar;
private String mainDepartment;
@ -41,7 +56,7 @@ public class WxCpUser implements Serializable {
private String openUserId;
/**
* 地址长度最大128个字符
* 地址长度最大128个字符代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段需要在获取访问用户敏感信息接口中获取
*/
private String address;
private String avatarMediaId;
@ -61,6 +76,9 @@ public class WxCpUser implements Serializable {
private Integer hideMobile;
private String englishName;
private String telephone;
/**
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段需要在获取访问用户敏感信息接口中获取
*/
private String qrCode;
private Boolean toInvite;
/**

View File

@ -25,7 +25,7 @@ public class WxCpUserDetail implements Serializable {
private String userId;
/**
* 成员姓名
* 成员姓名2022年6月20号后的新应用将不再返回此字段旧应用正常返回
*/
private String name;
@ -55,4 +55,15 @@ public class WxCpUserDetail implements Serializable {
@SerializedName("qr_code")
private String qrCode;
/**
* 企业邮箱仅在用户同意snsapi_privateinfo授权时返回2022年6月20号后的新应用将返回
*/
@SerializedName("biz_mail")
private String bizMail;
/**
* 地址仅在用户同意snsapi_privateinfo授权时返回2022年6月20号后的新应用将返回
*/
private String address;
}