api download file ลาออก

This commit is contained in:
AnandaTon 2023-08-29 14:43:05 +07:00
parent 546f53e634
commit 53be174dd6
2 changed files with 105 additions and 1 deletions

View file

@ -5,6 +5,7 @@ import env from "../index";
const reportOrder = `${env.API_REPORT2_URI}/report/order`;
const reportRetire = `${env.API_REPORT2_URI}/report/retire`;
const reportProbation = `${env.API_REPORT2_URI}/report/probation`;
const reportResign = `${env.API_REPORT2_URI}/report/resign/33`;
export default {
reportOrderCover: (fileType: string, id: string, commandCode: string) =>
@ -13,6 +14,8 @@ export default {
`${reportOrder}/${commandCode}/attachment/${fileType}/${id}`,
reportRetireList: (fileType: string, id: string) =>
`${reportRetire}/${fileType}/${id}`,
reportResignList: (fileType: string, id: string) =>
`${reportResign}/${fileType}/${id}`,
fileCover: (format: string, fileType: string, id: string) =>
`${reportOrder}/${format}/cover/${fileType}/${id}`,