管理后台前后端逻辑、UI美化

This commit is contained in:
Cheng Zhou
2026-01-16 13:50:08 +08:00
parent 05c1f9579a
commit 7fdcfdaadd
82 changed files with 3210 additions and 549 deletions
+2 -2
View File
@@ -20,5 +20,5 @@ export const updateUser = (
) =>
apiPatch<UserInfo>(`/api/v1/users/${userId}`, payload);
export const deleteUser = (userId: string, payload: { admin_password: string }) =>
apiDelete<void>(`/api/v1/users/${userId}`, { data: payload });
export const deleteUser = (userId: string) =>
apiDelete<void>(`/api/v1/users/${userId}`);