删除部门
This commit is contained in:
@@ -74,6 +74,12 @@ export async function updateDeptment(params) {
|
||||
});
|
||||
}
|
||||
|
||||
export async function deleteDeptment(params) {
|
||||
return request(`/admin-api/admins/dept/delete?${stringify(params)}`, {
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
export async function deptTreePage(params) {
|
||||
return request(`/admin-api/admins/dept/tree/page?${stringify(params)}`, {
|
||||
method: 'GET',
|
||||
|
||||
Reference in New Issue
Block a user