mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-30 20:57:47 +08:00
修复菜单获取接口反序列化时subButtons为空的问题 #142
This commit is contained in:
parent
5e72fb4705
commit
9d5f19c960
@ -1,5 +1,6 @@
|
||||
package me.chanjar.weixin.common.bean.menu;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import me.chanjar.weixin.common.util.ToStringUtils;
|
||||
|
||||
import java.io.Serializable;
|
||||
@ -13,8 +14,11 @@ public class WxMenuButton implements Serializable {
|
||||
private String name;
|
||||
private String key;
|
||||
private String url;
|
||||
|
||||
@SerializedName("media_id")
|
||||
private String mediaId;
|
||||
|
||||
@SerializedName("sub_button")
|
||||
private List<WxMenuButton> subButtons = new ArrayList<>();
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user