From 3bf135552be94d33aeb30fdb98c4941519c3ba2a Mon Sep 17 00:00:00 2001 From: Odboy Date: Mon, 5 Feb 2024 09:57:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=B7=AF=E7=94=B1=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/infra/bind_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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