api完善

This commit is contained in:
none
2023-03-02 21:46:24 +08:00
parent df33d052d5
commit 5a68b1487b
5 changed files with 94 additions and 2 deletions

View File

@@ -48,3 +48,7 @@ export function updateAdminUser(
role_ids: roleIds,
});
}
export function destroyAdminUser(id: number) {
return client.destroy(`/backend/v1/admin-user/${id}`);
}