This commit is contained in:
2026-08-31 10:58:12 +08:00
parent 462d02efd5
commit f7328e7c60
10 changed files with 140 additions and 20 deletions
@@ -188,7 +188,8 @@ export async function getLastMileOrder(orderId: string) {
}
export async function downloadLastMileOrders(query: Partial<LastMileOrderQuery>) {
return overseasHttp.get('/platform/v1/last-leg/orders/export', { params: query, responseType: 'blob' })
const response = await overseasHttp.get<Blob>('/platform/v1/last-leg/orders/export', { params: query, responseType: 'blob' })
return response.data
}
export async function createLastMileOrderFee(orderId: string, payload: CreateLastMileFeePayload) {