mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-11-01 03:25:35 +08:00 
			
		
		
		
	#302 WxMpXmlOutNewsMessage类中的内部类增加实现序列化接口
This commit is contained in:
		| @ -5,6 +5,7 @@ import com.thoughtworks.xstream.annotations.XStreamConverter; | ||||
| import me.chanjar.weixin.common.api.WxConsts; | ||||
| import me.chanjar.weixin.common.util.xml.XStreamCDataConverter; | ||||
|  | ||||
| import java.io.Serializable; | ||||
| import java.util.ArrayList; | ||||
| import java.util.List; | ||||
|  | ||||
| @ -39,7 +40,9 @@ public class WxMpXmlOutNewsMessage extends WxMpXmlOutMessage { | ||||
|  | ||||
|  | ||||
|   @XStreamAlias("item") | ||||
|   public static class Item { | ||||
|   public static class Item implements Serializable { | ||||
|  | ||||
|     private static final long serialVersionUID = -4971456355028904754L; | ||||
|  | ||||
|     @XStreamAlias("Title") | ||||
|     @XStreamConverter(value = XStreamCDataConverter.class) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Bob
					Bob