From 9a144c3e32593da1e8d6c2a1840cec2c4cdf9ca3 Mon Sep 17 00:00:00 2001 From: icaiwei Date: Sun, 26 Mar 2023 09:36:54 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BC=96=E8=BE=91=E5=92=8C=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96=E8=8F=9C=E5=8D=95?= =?UTF-8?q?id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/menu/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/system/menu/index.ts b/src/api/system/menu/index.ts index 0d8138ee..bd9a5f40 100644 --- a/src/api/system/menu/index.ts +++ b/src/api/system/menu/index.ts @@ -33,7 +33,7 @@ export function getMenuList(params: MenuPageReqVO) { // 获取菜单详情 export function getMenu(id: number) { - return defHttp.get({ url: '/system/menu/get?id' + id }) + return defHttp.get({ url: '/system/menu/get?id=' + id }) } // 新增菜单 @@ -48,5 +48,5 @@ export function updateMenu(data: MenuVO) { // 删除菜单 export function deleteMenu(id: number) { - return defHttp.delete({ url: '/system/menu/delete?id' + id }) + return defHttp.delete({ url: '/system/menu/delete?id=' + id }) }