diff --git a/frontend/admin-web/src/services/systemWithdrawalService.ts b/frontend/admin-web/src/services/systemWithdrawalService.ts index 9b928efb..afb747a0 100644 --- a/frontend/admin-web/src/services/systemWithdrawalService.ts +++ b/frontend/admin-web/src/services/systemWithdrawalService.ts @@ -34,7 +34,16 @@ export const systemWithdrawalService = { const response = await apiClient.get(API_ENDPOINTS.SYSTEM_WITHDRAWAL.ORDERS, { params }); // eslint-disable-next-line @typescript-eslint/no-explicit-any const result = (response as any)?.data?.data; - return result ?? { items: [], total: 0, page: 1, limit: 20 }; + // [2026-01-07] 适配后端返回格式:orders -> items, pageSize -> limit + if (result) { + return { + items: result.orders ?? [], + total: result.total ?? 0, + page: result.page ?? 1, + limit: result.pageSize ?? 20, + }; + } + return { items: [], total: 0, page: 1, limit: 20 }; }, /**