mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-15 18:55:13 +08:00
WxMpSelfMenuInfo的几个内部静态类增加Serializable接口实现
This commit is contained in:
@@ -36,7 +36,9 @@ public class WxMpSelfMenuInfo implements Serializable {
|
|||||||
this.buttons = buttons;
|
this.buttons = buttons;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class WxMpSelfMenuButton {
|
public static class WxMpSelfMenuButton implements Serializable {
|
||||||
|
private static final long serialVersionUID = -4426602953309048341L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* 菜单的类型,公众平台官网上能够设置的菜单类型有view(跳转网页)、text(返回文本,下同)、img、photo、video、voice。
|
* 菜单的类型,公众平台官网上能够设置的菜单类型有view(跳转网页)、text(返回文本,下同)、img、photo、video、voice。
|
||||||
@@ -149,7 +151,9 @@ public class WxMpSelfMenuInfo implements Serializable {
|
|||||||
this.newsInfo = newsInfo;
|
this.newsInfo = newsInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class SubButtons {
|
public static class SubButtons implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1763350658575521079L;
|
||||||
|
|
||||||
@SerializedName("list")
|
@SerializedName("list")
|
||||||
private List<WxMpSelfMenuButton> subButtons = new ArrayList<>();
|
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")
|
@SerializedName("list")
|
||||||
private List<NewsInButton> news = new ArrayList<>();
|
private List<NewsInButton> news = new ArrayList<>();
|
||||||
|
|
||||||
@@ -184,7 +190,9 @@ public class WxMpSelfMenuInfo implements Serializable {
|
|||||||
this.news = news;
|
this.news = news;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class NewsInButton {
|
public static class NewsInButton implements Serializable {
|
||||||
|
private static final long serialVersionUID = 8701455967664912972L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 图文消息的标题
|
* 图文消息的标题
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user