u
This commit is contained in:
@@ -54,4 +54,16 @@ export const shipment = {
|
||||
return http(`/api/shipment/${id}/file/${fileId}`, { method: 'DELETE' });
|
||||
},
|
||||
// #endregion
|
||||
|
||||
// #region POST /api/shipment/:id/pdf — createPdf
|
||||
createPdf(id) {
|
||||
return http(`/api/shipment/${id}/pdf`, { method: 'POST' });
|
||||
},
|
||||
// #endregion
|
||||
|
||||
// #region GET /api/shipment/:id/file/:fileId — getFileUrl
|
||||
getFileUrl(id, fileId) {
|
||||
return `/api/shipment/${encodeURIComponent(id)}/file/${encodeURIComponent(fileId)}`;
|
||||
},
|
||||
// #endregion
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user