API สร้างโครงสร้าง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-30 14:18:44 +07:00
parent cf69df74ac
commit f236159522
5 changed files with 338 additions and 265 deletions

View file

@ -5,6 +5,7 @@ const organization = `${env.API_URI}/org`;
export default {
/** โครงสร้างอัตรากำลัง*/
activeOrganization: `${organization}/active`,
orgByid: (id: string) => `${organization}/${id}`,
createOrganization: `${organization}/draft`,
createOrgLevel: (type: string) => `${organization}/${type}`,
orgLevelByid: (type: string, id: string) => `${organization}/${type}/${id}`,