优化
This commit is contained in:
@@ -59,6 +59,14 @@ export async function getLoadingAssociationSummary(inboundCode: string) {
|
||||
return unwrapApiResponse(response)
|
||||
}
|
||||
|
||||
export async function getLoadingAssociationSummaryByInboundId(inboundId: string) {
|
||||
const response = await http.get<ApiEnvelope<LoadingAssociationSummary>, ApiEnvelope<LoadingAssociationSummary>>(
|
||||
'/platform/v1/first-leg/loading-associations/summary',
|
||||
{ params: { inboundId } },
|
||||
)
|
||||
return unwrapApiResponse(response)
|
||||
}
|
||||
|
||||
export async function getOverseasInboundCodeRelationship(inboundCode: string) {
|
||||
const response = await overseasHttp.get<ApiEnvelope<OverseasInboundCodeRelationship>, ApiEnvelope<OverseasInboundCodeRelationship>>(
|
||||
`/platform/v1/last-leg/inventory/inbound-code-relationships/${encodeURIComponent(inboundCode)}`,
|
||||
|
||||
Reference in New Issue
Block a user