调整账号注册与删除流程

This commit is contained in:
Cheng Zhou
2026-06-29 16:25:04 +08:00
parent e242e067f0
commit 6c2bcc59b2
15 changed files with 44 additions and 589 deletions
+1 -1
View File
@@ -20,4 +20,4 @@ export const updateUser = (
apiPatch<UserInfo>(`/api/v1/users/${userId}`, payload);
export const deleteUser = (userId: string) =>
apiDelete<void>(`/api/v1/users/${userId}`);
apiDelete<void>(`/api/v1/users/${userId}`, { suppressErrorMessage: true });