新增MenuID字段
This commit is contained in:
parent
1850b4fcdd
commit
bd745299e0
2
pom.xml
2
pom.xml
@ -47,6 +47,8 @@
|
||||
</modules>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>1.6</maven.compiler.source>
|
||||
<maven.compiler.target>1.6</maven.compiler.target>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
@ -33,14 +33,23 @@ public class MenuEventMessage extends EventMessage {
|
||||
*/
|
||||
@XmlElement(name = "EventKey")
|
||||
private String eventKey;
|
||||
/**
|
||||
* 指菜单ID,如果是个性化菜单,则可以通过这个字段,知道是哪个规则的菜单被点击了。
|
||||
*/
|
||||
@XmlElement(name = "MenuID")
|
||||
private String menuId;
|
||||
|
||||
public String getEventKey() {
|
||||
return eventKey;
|
||||
}
|
||||
|
||||
public String getMenuId() {
|
||||
return menuId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "MenuEventMessage [eventKey=" + eventKey + ", "
|
||||
+ super.toString() + "]";
|
||||
return "MenuEventMessage [eventKey=" + eventKey + ", menuId=" + menuId
|
||||
+ ", " + super.toString() + "]";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user