mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
WxMpSelfMenuInfo的几个内部静态类增加Serializable接口实现
This commit is contained in:
parent
4f1c66efce
commit
c65cd34bc9
@ -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(返回文本,下同)、img、photo、video、voice。
|
||||
@ -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;
|
||||
|
||||
/**
|
||||
* 图文消息的标题
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user