WXL
4 天以前 36d1334695a28fe6b49c1c7bb4bccb7f3ae5c443
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'
  })
}
}