mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-02-18 22:26:22 +08:00
#305 修复微信变态的拍照或发图事件的消息格式的处理
This commit is contained in:
@@ -425,6 +425,8 @@ public class WxMpXmlMessage implements Serializable {
|
||||
private Integer deviceStatus;
|
||||
|
||||
public static WxMpXmlMessage fromXml(String xml) {
|
||||
//修改微信变态的消息内容格式,方便解析
|
||||
xml = xml.replace("</PicList><PicList>", "");
|
||||
return XStreamTransformer.fromXml(WxMpXmlMessage.class, xml);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user