mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
企业号用户增加enable属性,可以同步本地系统的用户有效性,微信异常消息加冒号,代码已验证
This commit is contained in:
@@ -98,6 +98,9 @@ public class WxCpUserGsonAdapter implements JsonDeserializer<WxCpUser>, JsonSeri
|
||||
if (user.getStatus() != null) {
|
||||
o.addProperty("status", user.getStatus());
|
||||
}
|
||||
if (user.getEnable() != null) {
|
||||
o.addProperty("enable", user.getEnable());
|
||||
}
|
||||
if (user.getExtAttrs().size() > 0) {
|
||||
JsonArray attrsJsonArray = new JsonArray();
|
||||
for (WxCpUser.Attr attr : user.getExtAttrs()) {
|
||||
|
||||
Reference in New Issue
Block a user