2024-09-02 13:40:15 +07:00
|
|
|
import env from './index'
|
|
|
|
|
const leave = `${env.API_URI}/leave`
|
2024-11-19 11:53:07 +07:00
|
|
|
const urlFile = `${env.API_URI}/salary`
|
2023-11-15 10:17:25 +07:00
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
checkin: () => `${leave}/check-in`,
|
|
|
|
|
checkTime: () => `${leave}/check-time`,
|
2024-11-13 15:42:42 +07:00
|
|
|
|
|
|
|
|
keycloakLogSSO: `${env.API_URI}/org/keycloak/log/sso`,
|
2024-11-19 11:53:07 +07:00
|
|
|
keycloakPosition: () => `${env.API_URI}/org/profile/keycloak/position`,
|
|
|
|
|
fileByFile: (name: string, group: string, id: string, fileName: string) =>
|
|
|
|
|
`${urlFile}/file/${name}/${group}/${id}/${fileName}`,
|
2024-09-02 13:40:15 +07:00
|
|
|
}
|