更改系统管理api
This commit is contained in:
@ -46,7 +46,10 @@ export function updateDept(data) {
|
||||
// 删除部门
|
||||
export function delDept(deptId) {
|
||||
return request({
|
||||
url: '/system/dept/' + deptId,
|
||||
method: 'delete'
|
||||
url: '/system/dept',
|
||||
method: 'delete',
|
||||
data: {
|
||||
id: deptId
|
||||
}
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user