装柜优化

This commit is contained in:
2026-08-11 14:23:46 +08:00
parent 8a8c5a3faa
commit ef35a1be2e
7 changed files with 38 additions and 16 deletions
@@ -203,7 +203,7 @@ function idempotencyKey(planId: string) {
export async function listPreloadPlans(query: LoadingListQuery) {
const response = await http.get<ApiEnvelope<RawPage<PreloadSummary>>, ApiEnvelope<RawPage<PreloadSummary>>>(
`${basePath}/loading-plans`,
{ params: { ...query, status: 'LOADING' } },
{ params: query },
)
return normalizePage(unwrapApiResponse(response), normalizePreloadSummary)
}