123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- class ApiConstants {
-
- static const isServerRelease = false;
-
- static const baseUrl = isServerRelease ? 'https://vietnam.casualabour.com' : 'http://vietnam-dev.casualabour.com';
-
- static const sgBaseUrl = isServerRelease ? 'https://singapore.casualabour.com' : 'http://singapore-dev.casualabour.com';
-
- static const apiUserLogin = "/index.php/api/v1/hotel/login";
-
- static const apiUserLogout = "/index.php/api/v1/hotel/logout";
-
- static const apiResetPassword = "/index.php/api/v1/hotel/reset";
-
- static const apiHotelInfo = "/index.php/api/v1/hotel/info";
-
- static const apiHotelRegister = "/index.php/api/v1/hotel/register";
-
- static const apiHotelDeactivate = "/index.php/api/v1/hotel/deactivate";
-
-
- static const apiLabourRequestIndex = "/index.php/api/v1/hotel/lab-req/index";
-
- static const apiLabourRequestList = "/index.php/api/v1/hotel/lab-req/table";
-
- static const apiLabourRequestAddOption = "/index.php/api/v1/hotel/lab-req/add-view";
-
- static const apiLabourRequestAddSubmit = "/index.php/api/v1/hotel/lab-req/add-submit";
-
- static const apiLabourRequestEditDetail = "/index.php/api/v1/hotel/lab-req/edit-view";
-
- static const apiLabourRequestEditSubmit = "/index.php/api/v1/hotel/lab-req/edit-submit";
-
- static const apiLabourRequestStateWorkFlow = "/index.php/api/v1/hotel/lab-req/status-view";
-
- static const apiLabourRequestRecall = "/index.php/api/v1/hotel/lab-req/recall";
-
-
- static const apiJobListIndex = "/index.php/api/v1/hotel/job/index";
-
- static const apiJobListTable = "/index.php/api/v1/hotel/job/table";
-
- static const apiJobListDetail = "/index.php/api/v1/hotel/job/detail";
-
- static const apiJobListAppliedJobInfo = "/index.php/api/v1/hotel/applied/index";
-
- static const apiJobListAppliedStaffList = "/index.php/api/v1/hotel/applied/table";
-
- static const apiJobListAppliedStaffSearch = "/index.php/api/v1/hotel/applied/staff-view";
-
- static const apiJobListAppliedStaffAdd = "/index.php/api/v1/hotel/applied/staff-submit";
-
- static const apiJobListAppliedStaffBatchEdit = "/index.php/api/v1/hotel/applied/batch-edit";
-
- static const apiJobListAppliedStaffEditIndex = "/index.php/api/v1/hotel/applied/edit-view";
-
- static const apiJobListAppliedStaffEditSubmit = "/index.php/api/v1/hotel/applied/edit-submit";
-
- static const apiJobListAppliedStaffReviewIndex = "/index.php/api/v1/hotel/applied/remark-view";
-
- static const apiJobListAppliedStaffReviewSubmit = "/index.php/api/v1/hotel/applied/remark-submit";
-
- static const apiJobListAppliedStaffStateWorkflow = "/index.php/api/v1/hotel/applied/status-view";
-
- static const apiJobListAppliedApprove = "/index.php/api/v1/hotel/applied/approve";
-
- static const apiJobListStaffDetail = "/index.php/api/v1/hotel/member/detail";
-
- static const apiJobListStaffLabourHistory = "/index.php/api/v1/hotel/member/history";
-
- static const apiJobListStaffRemarkHistory = "/index.php/api/v1/hotel/member/remarks";
-
-
- static const apiSignApplied = "/index.php/api/v1/hotel/sign/table";
-
- static const apiSignInOut = "/index.php/api/v1/hotel/sign/clock";
- }
|