Skip to content

Commit a210b85

Browse files
committed
微信消息里增加缺少的MenuId
1 parent d30ac74 commit a210b85

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/message/WxMpXmlMessage.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ public class WxMpXmlMessage implements Serializable {
5454
@XStreamConverter(value = XStreamCDataConverter.class)
5555
private String content;
5656

57+
@XStreamAlias("MenuId")
58+
private Long menuId;
59+
5760
@XStreamAlias("MsgId")
5861
private Long msgId;
5962

@@ -685,6 +688,14 @@ public void setSendLocationInfo(
685688
this.sendLocationInfo = sendLocationInfo;
686689
}
687690

691+
public Long getMenuId() {
692+
return this.menuId;
693+
}
694+
695+
public void setMenuId(Long menuId) {
696+
this.menuId = menuId;
697+
}
698+
688699
public String getKfAccount() {
689700
return this.kfAccount;
690701
}

0 commit comments

Comments
 (0)