diff --git a/src/infra/bind_api.go b/src/infra/bind_api.go index e809c3b..ed5a554 100644 --- a/src/infra/bind_api.go +++ b/src/infra/bind_api.go @@ -27,7 +27,7 @@ func init() { // 菜单 menuApi := rest.MenuController{} - InnerRouters["menus"] = menuApi.TreeMenu + InnerRouters["queryAllMenus"] = menuApi.TreeMenu InnerRouters["createMenu"] = menuApi.CreateMenu InnerRouters["deleteMenu"] = menuApi.DeleteMenu InnerRouters["modifyMenu"] = menuApi.ModifyMenu