From 7116fe5ae21318bee4a1665736c1b09b053b6657 Mon Sep 17 00:00:00 2001 From: zp961466717 <43167276+zp961466717@users.noreply.github.com> Date: Mon, 27 Dec 2021 15:09:42 +0800 Subject: [PATCH] =?UTF-8?q?:new:=20#2459=20=E3=80=90=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E3=80=91=E6=8E=88=E6=9D=83=E8=B5=84=E6=96=99=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E4=BA=8B=E4=BB=B6=E6=B6=88=E6=81=AF=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?OpenPID=EF=BC=8CPluginID=EF=BC=8COpenID=EF=BC=8CRevokeInfo?= =?UTF-8?q?=E7=AD=89=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wx/miniapp/bean/WxMaMessage.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/WxMaMessage.java b/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/WxMaMessage.java index ff7a48e471..4a8713cad5 100644 --- a/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/WxMaMessage.java +++ b/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/WxMaMessage.java @@ -145,6 +145,27 @@ public class WxMaMessage implements Serializable { @XStreamConverter(value = XStreamCDataConverter.class) private String query; + @SerializedName("RevokeInfo") + @XStreamAlias("RevokeInfo") + @XStreamConverter(value = XStreamCDataConverter.class) + private String revokeInfo; + + @SerializedName("OpenID") + @XStreamAlias("OpenID") + @XStreamConverter(value = XStreamCDataConverter.class) + private String openId; + + @SerializedName("PluginID") + @XStreamAlias("PluginID") + @XStreamConverter(value = XStreamCDataConverter.class) + private String pluginId; + + @SerializedName("OpenPID") + @XStreamAlias("OpenPID") + @XStreamConverter(value = XStreamCDataConverter.class) + private String openPid; + + public static WxMaMessage fromXml(String xml) { return XStreamTransformer.fromXml(WxMaMessage.class, xml); }