优化
This commit is contained in:
@@ -165,3 +165,8 @@ export function updateTransport(kind: CrossBorderBusinessKind, orderNo: string,
|
||||
data: payload,
|
||||
})
|
||||
}
|
||||
|
||||
/** 客户按当前版本取消待审核本土卡车订单。 */
|
||||
export function cancelTruckOrder(orderNo: string, payload: { version: number; status: 'CANCELLED'; idempotencyKey: string; remark: string }) {
|
||||
return apiRequest<TransportDetail>({ method: 'PATCH', url: endpointByKind.trucking + '/' + encodeURIComponent(orderNo) + '/status', data: payload })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user