优化
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user