API รับทุนการศึกษา/ฝึกอบรม
This commit is contained in:
parent
7c5cf3794b
commit
d42e421f14
8 changed files with 1912 additions and 178 deletions
|
|
@ -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}`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue