From a895a615b2b6a40be7ee0740d3e0b998d811744f Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期六, 01 六月 2024 16:12:41 +0800
Subject: [PATCH] 11
---
src/api/system/menu.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/api/system/menu.js b/src/api/system/menu.js
index f6415c6..f859dbd 100644
--- a/src/api/system/menu.js
+++ b/src/api/system/menu.js
@@ -45,8 +45,8 @@
// 淇敼鑿滃崟
export function updateMenu(data) {
return request({
- url: '/system/menu',
- method: 'put',
+ url: '/system/menu/edit',
+ method: 'post',
data: data
})
}
@@ -54,7 +54,7 @@
// 鍒犻櫎鑿滃崟
export function delMenu(menuId) {
return request({
- url: '/system/menu/' + menuId,
- method: 'delete'
+ url: '/system/menu/remove/' + menuId,
+ method: 'get',
})
}
\ No newline at end of file
--
Gitblit v1.9.3