菜单路由动态加载

This commit is contained in:
骑着蜗牛追导弹 2024-02-05 09:57:46 +08:00
parent 09a80bc7bc
commit 3bf135552b
1 changed files with 1 additions and 1 deletions

View File

@ -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