mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-04 20:57:47 +08:00
🎨 #2854【企业微信】获取访问用户敏感信息接口中增加地址和企业邮箱字段
This commit is contained in:
parent
31d446a6bd
commit
df759717cd
@ -28,10 +28,25 @@ public class WxCpUser implements Serializable {
|
|||||||
private Integer[] orders;
|
private Integer[] orders;
|
||||||
private String position;
|
private String position;
|
||||||
private String[] positions;
|
private String[] positions;
|
||||||
|
/**
|
||||||
|
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
|
||||||
|
*/
|
||||||
private String mobile;
|
private String mobile;
|
||||||
|
/**
|
||||||
|
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
|
||||||
|
*/
|
||||||
private Gender gender;
|
private Gender gender;
|
||||||
|
/**
|
||||||
|
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
|
||||||
|
*/
|
||||||
private String email;
|
private String email;
|
||||||
|
/**
|
||||||
|
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
|
||||||
|
*/
|
||||||
private String bizMail;
|
private String bizMail;
|
||||||
|
/**
|
||||||
|
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
|
||||||
|
*/
|
||||||
private String avatar;
|
private String avatar;
|
||||||
private String thumbAvatar;
|
private String thumbAvatar;
|
||||||
private String mainDepartment;
|
private String mainDepartment;
|
||||||
@ -41,7 +56,7 @@ public class WxCpUser implements Serializable {
|
|||||||
private String openUserId;
|
private String openUserId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 地址。长度最大128个字符
|
* 地址。长度最大128个字符,代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
|
||||||
*/
|
*/
|
||||||
private String address;
|
private String address;
|
||||||
private String avatarMediaId;
|
private String avatarMediaId;
|
||||||
@ -61,6 +76,9 @@ public class WxCpUser implements Serializable {
|
|||||||
private Integer hideMobile;
|
private Integer hideMobile;
|
||||||
private String englishName;
|
private String englishName;
|
||||||
private String telephone;
|
private String telephone;
|
||||||
|
/**
|
||||||
|
* 代开发自建应用类型于2022年6月20号后的新建应用将不再返回此字段,需要在【获取访问用户敏感信息】接口中获取
|
||||||
|
*/
|
||||||
private String qrCode;
|
private String qrCode;
|
||||||
private Boolean toInvite;
|
private Boolean toInvite;
|
||||||
/**
|
/**
|
||||||
|
@ -25,7 +25,7 @@ public class WxCpUserDetail implements Serializable {
|
|||||||
private String userId;
|
private String userId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 成员姓名
|
* 成员姓名,2022年6月20号后的新应用将不再返回此字段,旧应用正常返回
|
||||||
*/
|
*/
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
@ -55,4 +55,15 @@ public class WxCpUserDetail implements Serializable {
|
|||||||
@SerializedName("qr_code")
|
@SerializedName("qr_code")
|
||||||
private String qrCode;
|
private String qrCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 企业邮箱,仅在用户同意snsapi_privateinfo授权时返回,2022年6月20号后的新应用将返回
|
||||||
|
*/
|
||||||
|
@SerializedName("biz_mail")
|
||||||
|
private String bizMail;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 地址,仅在用户同意snsapi_privateinfo授权时返回,2022年6月20号后的新应用将返回
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user