菜单路由动态加载
This commit is contained in:
parent
09a80bc7bc
commit
3bf135552b
|
@ -27,7 +27,7 @@ func init() {
|
||||||
|
|
||||||
// 菜单
|
// 菜单
|
||||||
menuApi := rest.MenuController{}
|
menuApi := rest.MenuController{}
|
||||||
InnerRouters["menus"] = menuApi.TreeMenu
|
InnerRouters["queryAllMenus"] = menuApi.TreeMenu
|
||||||
InnerRouters["createMenu"] = menuApi.CreateMenu
|
InnerRouters["createMenu"] = menuApi.CreateMenu
|
||||||
InnerRouters["deleteMenu"] = menuApi.DeleteMenu
|
InnerRouters["deleteMenu"] = menuApi.DeleteMenu
|
||||||
InnerRouters["modifyMenu"] = menuApi.ModifyMenu
|
InnerRouters["modifyMenu"] = menuApi.ModifyMenu
|
||||||
|
|
Loading…
Reference in New Issue