WXL
2025-04-27 400d13ddc80a7560860939f65b318b2fa78f9004
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'
  })
}
}