WXL
2024-04-08 412ecc2c412a03c909c0dc2ef41f08d02eb7d913
src/api/system/dept.js
@@ -37,8 +37,8 @@
// 修改部门
export function updateDept(data) {
  return request({
    url: '/system/dept',
    method: 'put',
    url: '/system/dept/edit',
    method: 'post',
    data: data
  })
}
@@ -46,7 +46,7 @@
// 删除部门
export function delDept(deptId) {
  return request({
    url: '/system/dept/' + deptId,
    method: 'delete'
    url: '/system/dept/remove/' + deptId,
    method: 'get'
  })
}