API รับทุนการศึกษา/ฝึกอบรม

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-04-05 16:31:36 +07:00
parent 7c5cf3794b
commit d42e421f14
8 changed files with 1912 additions and 178 deletions

View file

@ -1,17 +1,22 @@
import env from "../index";
const development = `${env.API_URI}/development`;
const developmentOrg = `${env.API_URI}/org`
const developmentOrg = `${env.API_URI}/org`;
const devScholarship = `${env.API_URI}/development/scholarship`;
export default {
development,
/** history */
developmentHistoryList: (type:string) => `${development}/history/${type}/`,
developmentHistoryAdd: (type:string) => `${development}/history/${type}`,
developmentHistoryList: (type: string) => `${development}/history/${type}/`,
developmentHistoryAdd: (type: string) => `${development}/history/${type}`,
developmentProjectSearch: () => `${development}/main/search`,
/** history employee */
developmentProjectSearchEmployee:()=>`${developmentOrg}/profile-employee/`,
developmentProjectSearchEmployee: () => `${developmentOrg}/profile-employee/`,
/** รายการโครงการ*/
developmentMain: `${development}/main`,
developmentMainById: (id: string) => `${development}/main/${id}`,
/** ทุนการศึกษา/ฝึกอบรม*/
devScholarship,
devScholarshipByid: (id: string) => `${devScholarship}/${id}`,
};