코드갱신

This commit is contained in:
2025-06-26 17:48:04 +09:00
parent ec12b35464
commit 70832bae82
3 changed files with 27 additions and 0 deletions
@@ -62,6 +62,12 @@ export class LwpoCodeApiService implements LwpoCodeService {
`${ENDPOINT.CMS_SERVICE.LWPO_CODE}/${lwpoCd}/up-cd/${upCd}`,
);
}
public async codeRefreshAll(): Promise<void> {
await client.post<void>(
`${ENDPOINT.CMS_SERVICE.LWPO_CODE}/cache/refresh-all`,
);
}
}
export const LwpoCodeApi = new LwpoCodeApiService();
@@ -65,4 +65,5 @@ export interface LwpoCodeService {
lwpoCd: string,
data: LwpoCodeFormData,
): Promise<void>;
codeRefreshAll(): Promise<void>;
}