[as instl] tree를 /list/tree로 url 변경 처리

This commit is contained in:
2026-05-22 13:18:57 +09:00
parent 31ee840072
commit da8f66fca1
3 changed files with 3 additions and 3 deletions
@@ -5,7 +5,7 @@ import type { AcntgSeMngTreeDto, AcntgService } from "../model/acntg-interface";
async function findTree(): Promise<AcntgSeMngTreeDto[]> {
const response = await client.get<AcntgSeMngTreeDto[]>(
`${ENDPOINT.AS_COMMON_SERVICE.ACNTG_SE}/tree`,
`${ENDPOINT.AS_COMMON_SERVICE.ACNTG_SE}/list/tree`,
);
return response.data;
}
@@ -24,7 +24,7 @@ async function findById(cklstSn: number): Promise<CklstMng> {
}
async function findTree(params: CklstTreeSearchParams): Promise<CklstTreeNode[]> {
const response = await client.get<CklstTreeNode[]>(`${ENDPOINT.AS_CHECKLIST_SERVICE.CKLST}/tree`, {
const response = await client.get<CklstTreeNode[]>(`${ENDPOINT.AS_CHECKLIST_SERVICE.CKLST}/list/tree`, {
params,
});
return response.data;
@@ -5,7 +5,7 @@ import type { CnstpSeMngTreeDto, CnstpService } from "../model/cnstp-interface";
async function findTree(): Promise<CnstpSeMngTreeDto[]> {
const response = await client.get<CnstpSeMngTreeDto[]>(
`${ENDPOINT.AS_COMMON_SERVICE.CNSTP_SE}/tree`,
`${ENDPOINT.AS_COMMON_SERVICE.CNSTP_SE}/list/tree`,
);
return response.data;
}