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); }