ต่อ API ดาวน์โหลดรายงาน

This commit is contained in:
STW_TTTY\stwtt 2024-04-09 16:26:10 +07:00
parent 2948ebdc2f
commit 1bdd71d9f2
5 changed files with 124 additions and 9 deletions

View file

@ -2,6 +2,7 @@ import env from "../index";
const development = `${env.API_URI}/development`;
const developmentOrg = `${env.API_URI}/org`;
const devScholarship = `${env.API_URI}/development/scholarship`;
const developmentReport = `${env.API_URI}/development/report`;
export default {
development,
/** history */
@ -20,4 +21,9 @@ export default {
devScholarship,
devScholarshipByid: (id: string) => `${devScholarship}/${id}`,
/** download File */
developmentReportMain:() =>`${developmentReport}/main`,
developmentReportHistory:() =>`${developmentReport}/history-officer`,
developmentReportHistoryOfficer:() =>`${developmentReport}/history-employee`,
developmentReportScholarship:() =>`${developmentReport}/scholarship`,
};