From 99b062eeca471bdcbfcacd88e308fab9972cd6ec Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 19 八月 2025 14:21:33 +0800
Subject: [PATCH] 展示优化
---
src/api/system/menu.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/api/system/menu.js b/src/api/system/menu.js
index f6415c6..ce256c2 100644
--- a/src/api/system/menu.js
+++ b/src/api/system/menu.js
@@ -36,7 +36,7 @@
// 鏂板鑿滃崟
export function addMenu(data) {
return request({
- url: '/system/menu',
+ url: '/system/menu/add',
method: 'post',
data: data
})
@@ -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