feat(children): support soft delete child profiles

This commit is contained in:
stu2not
2026-05-25 17:27:12 +08:00
parent 5d86ee5826
commit 8cff60f87b
4 changed files with 96 additions and 5 deletions

View File

@@ -88,3 +88,9 @@ export async function updateChild(
data,
})
}
export async function deleteChild(childId: number): Promise<void> {
return request<void>(`/banban/children/${childId}`, {
method: 'DELETE',
})
}