From 320f3676a8f6d9070bc573ee1512c40184483f29 Mon Sep 17 00:00:00 2001 From: Binary Wang Date: Tue, 16 Jun 2020 16:53:26 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20#1619=20=E4=BC=81=E4=B8=9A=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E8=8E=B7=E5=8F=96=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BC=98=E5=8C=96=EF=BC=8C=E5=A4=84=E7=90=86?= =?UTF-8?q?type=E4=B8=BAnull=E6=83=85=E5=86=B5=E4=B8=8B=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E4=BC=9A=E5=AF=BC=E8=87=B4=E7=9A=84=E7=A9=BA=E6=8C=87=E9=92=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/me/chanjar/weixin/cp/util/json/WxCpUserGsonAdapter.java | 1 + 1 file changed, 1 insertion(+) 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; }