You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
476 B
18 lines
476 B
package menu
|
|
|
|
type MenuVo struct {
|
|
Name string `json:"name"`
|
|
Component string `json:"component"`
|
|
Path string `json:"path"`
|
|
Hidden int8 `json:"hidden"`
|
|
AlwaysShow bool `json:"alwaysShow"`
|
|
Redirect string `json:"redirect"`
|
|
Meta MenuMetaVo `json:"meta"`
|
|
Children []MenuVo `json:"children"`
|
|
}
|
|
|
|
type MenuMetaVo struct {
|
|
Title string `json:"title"`
|
|
Icon string `json:"icon"`
|
|
NoCache bool `json:"noCache"`
|
|
}
|
|
|