Merge branch 'dev-chiangmai' into warunee-dev

# Conflicts:
#	src/api/05_placement/api.placement.ts
This commit is contained in:
Warunee Tamkoo 2023-07-12 11:37:22 +07:00
commit 34a82cf5ec
11 changed files with 1089 additions and 813 deletions

View file

@ -1,8 +1,16 @@
/**
* api
*/
import env from "../index";
import env from "../index"
const placement = `${env.API_URI}/Placement/placement`
const orgTree = `${env.API_URI_ORG_TREE}`;
const placement = `${env.API_URI}/Placement/placement`;
export default { orgTree: orgTree, placementPass: () => `${placement}/pass` };
export default {
MainDetail: (year: number) => `${placement}/exam/${year}`,
yearOptions: () => `${placement}/fiscal`,
redirectToPage: (examId: string) => `${placement}/pass/${examId}`,
disclaimF: () => `${placement}/pass/disclaim`,
defermentF: () => `${placement}/pass/deferment`,
getStatCard: (examId: string) => `${placement}/pass/stat/${examId}`,
getDatapersonal: (id: string) => `${placement}/personal/${id}`,
putProperty: (id: string) => `${placement}/property/${id}`,
orgTree: orgTree,
placementPass: () => `${placement}/pass`
}