Skip to content

Commit c443dc1

Browse files
authored
🎨 #2893 【公众号】自定义菜单查询接口返回结果类增加缺失的 mediaId 和 articleId 字段
1 parent c0a7376 commit c443dc1

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/menu/WxMpSelfMenuInfo.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@ public static class WxMpSelfMenuButton implements Serializable {
8080
@SerializedName("value")
8181
private String value;
8282

83+
/**
84+
* 调用新增永久素材接口返回的合法media_id
85+
* <p>
86+
* media_id类型和view_limited类型必须
87+
*/
88+
@SerializedName("media_id")
89+
private String mediaId;
90+
91+
/**
92+
* 发布后获得的合法article_id
93+
* <p>
94+
* article_id类型和article_view_limited类型必须
95+
*/
96+
@SerializedName("article_id")
97+
private String articleId;
98+
8399
/**
84100
* <pre>
85101
* 小程序的appid.

0 commit comments

Comments
 (0)