This commit is contained in:
2026-09-20 16:55:27 +08:00
parent 486d5163b2
commit 308f7573c1
9 changed files with 354 additions and 98 deletions
@@ -45,5 +45,5 @@ export function uploadReturnRelabelFile(relabelNo: string, scope: 'CARTON_TOTAL'
return overseasApiRequest<unknown>({ method: 'POST', url: `/merchant/v1/last-leg/relabel-applications/${encodeURIComponent(relabelNo)}/files`, params: { scope }, data, headers: { 'Content-Type': 'multipart/form-data' } })
}
export function downloadReturnPhoto(returnNo: string, fileId: string | number) {
return overseasBlobRequest({ method: 'GET', url: `/merchant/v1/last-leg/return-orders/${encodeURIComponent(returnNo)}/photos/${encodeURIComponent(String(fileId))}/download` })
return overseasBlobRequest({ method: 'GET', url: `/merchant/v1/last-leg/return-orders/${encodeURIComponent(returnNo)}/photos/files/${encodeURIComponent(String(fileId))}/download` })
}