完成修改密码删除用户

This commit is contained in:
2025-05-12 12:47:27 +08:00
parent fbc9a4f140
commit 805901767c
9 changed files with 331 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
import fetcher from "../../fetcher";
export async function remove(userId: string) {
return fetcher(`/admin/user/${userId}`, {
return fetcher(`/api/admin/user/${userId}`, {
method: 'DELETE',
})
}