fix: แก้ path api
This commit is contained in:
parent
5969c62363
commit
6a5abd818f
2 changed files with 10 additions and 6 deletions
|
|
@ -3,6 +3,7 @@ import env from "../index";
|
|||
const retirementResign = `${env.API_URI}/retirement`;
|
||||
const leave = `${env.API_URI}/leave`;
|
||||
const holiday = `${env.API_URI}/metadata/holiday/`;
|
||||
const leaveHoliday = `${env.API_URI}/leave/metadata/holiday/`;
|
||||
|
||||
export default {
|
||||
listUser: () => `${retirementResign}/resign/user`,
|
||||
|
|
@ -39,5 +40,7 @@ export default {
|
|||
`${leave}/user/file/document/${id}/${docId}`,
|
||||
|
||||
listHolidayHistoryYearMonth: (year: number, month: number) =>
|
||||
`${holiday}${year}/${month}`,
|
||||
`${leaveHoliday}${year}/${month}`,
|
||||
|
||||
leaveTest: () => `${env.API_URI}/leave/report/download/time-records/officer`
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue