mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
issue #72 WxCpUser缺少avatar,status属性
This commit is contained in:
@@ -21,6 +21,8 @@ public class WxCpUser {
|
||||
private String tel;
|
||||
private String email;
|
||||
private String weiXinId;
|
||||
private String avatar;
|
||||
private Integer status;
|
||||
private final List<Attr> extAttrs = new ArrayList<Attr>();
|
||||
|
||||
public String getUserId() {
|
||||
@@ -95,6 +97,22 @@ public class WxCpUser {
|
||||
this.weiXinId = weiXinId;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public void addExtAttr(String name, String value) {
|
||||
this.extAttrs.add(new Attr(name, value));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user