ปรับ Path API โครงสร้าง
This commit is contained in:
parent
1440847a20
commit
9045f694f3
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ const orgEmployeePos = `${env.API_URI}/org/employee/pos`;
|
|||
export default {
|
||||
/** โครงสร้างอัตรากำลัง*/
|
||||
activeOrganization: `${organization}/active`,
|
||||
orgByid: (id: string) => `${organization}/${id}`,
|
||||
orgByid: (id: string) => `${organization}/admin/${id}`,
|
||||
createOrganization: `${organization}/draft`,
|
||||
createOrgLevel: (type: string) => `${organization}/${type}`,
|
||||
orgLevelByid: (type: string, id: string) => `${organization}/${type}/${id}`,
|
||||
|
|
@ -27,7 +27,7 @@ export default {
|
|||
orgPosLevel: `${orgPos}/level`,
|
||||
orgPosMaster: `${orgPos}/master`,
|
||||
orgPosMasterById: (id: string) => `${orgPos}/master/${id}`,
|
||||
orgPosMasterList: `${orgPos}/master/list`,
|
||||
orgPosMasterList: `${orgPos}/admin/master/list`,
|
||||
orgPosSort: `${orgPos}/sort`,
|
||||
orgPosMove: `${orgPos}/move`,
|
||||
organizationShortName: `${organization}/sort`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue