WxMpSelfMenuInfo的几个内部静态类增加Serializable接口实现

This commit is contained in:
Binary Wang 2017-10-13 14:42:16 +08:00
parent 4f1c66efce
commit c65cd34bc9

View File

@ -36,7 +36,9 @@ public class WxMpSelfMenuInfo implements Serializable {
this.buttons = buttons;
}
public static class WxMpSelfMenuButton {
public static class WxMpSelfMenuButton implements Serializable {
private static final long serialVersionUID = -4426602953309048341L;
/**
* <pre>
* 菜单的类型公众平台官网上能够设置的菜单类型有view跳转网页text返回文本下同imgphotovideovoice
@ -149,7 +151,9 @@ public class WxMpSelfMenuInfo implements Serializable {
this.newsInfo = newsInfo;
}
public static class SubButtons {
public static class SubButtons implements Serializable {
private static final long serialVersionUID = 1763350658575521079L;
@SerializedName("list")
private List<WxMpSelfMenuButton> subButtons = new ArrayList<>();
@ -167,7 +171,9 @@ public class WxMpSelfMenuInfo implements Serializable {
}
}
public static class NewsInfo {
public static class NewsInfo implements Serializable {
private static final long serialVersionUID = 3449813746347818457L;
@SerializedName("list")
private List<NewsInButton> news = new ArrayList<>();
@ -184,7 +190,9 @@ public class WxMpSelfMenuInfo implements Serializable {
this.news = news;
}
public static class NewsInButton {
public static class NewsInButton implements Serializable {
private static final long serialVersionUID = 8701455967664912972L;
/**
* 图文消息的标题
*/