新增MenuID字段
This commit is contained in:
parent
1850b4fcdd
commit
bd745299e0
2
pom.xml
2
pom.xml
@ -47,6 +47,8 @@
|
|||||||
</modules>
|
</modules>
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<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>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|||||||
@ -31,16 +31,25 @@ public class MenuEventMessage extends EventMessage {
|
|||||||
/**
|
/**
|
||||||
* 事件KEY值,与自定义菜单接口中KEY值对应
|
* 事件KEY值,与自定义菜单接口中KEY值对应
|
||||||
*/
|
*/
|
||||||
@XmlElement(name="EventKey")
|
@XmlElement(name = "EventKey")
|
||||||
private String eventKey;
|
private String eventKey;
|
||||||
|
/**
|
||||||
|
* 指菜单ID,如果是个性化菜单,则可以通过这个字段,知道是哪个规则的菜单被点击了。
|
||||||
|
*/
|
||||||
|
@XmlElement(name = "MenuID")
|
||||||
|
private String menuId;
|
||||||
|
|
||||||
public String getEventKey() {
|
public String getEventKey() {
|
||||||
return eventKey;
|
return eventKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getMenuId() {
|
||||||
|
return menuId;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "MenuEventMessage [eventKey=" + eventKey + ", "
|
return "MenuEventMessage [eventKey=" + eventKey + ", menuId=" + menuId
|
||||||
+ super.toString() + "]";
|
+ ", " + super.toString() + "]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user