diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/util/json/WxCpUserGsonAdapter.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/util/json/WxCpUserGsonAdapter.java index deaac491fc..51303b602b 100644 --- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/util/json/WxCpUserGsonAdapter.java +++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/util/json/WxCpUserGsonAdapter.java @@ -99,6 +99,7 @@ private void buildExtraAttrs(JsonObject o, WxCpUser user) { user.getExtAttrs().add(attr); if (type == null) { + attr.setTextValue(GsonHelper.getString(attrJsonElement.getAsJsonObject(), "value")); continue; }