feat: 콘텐츠 승인 로직 작업

This commit is contained in:
2025-04-18 18:19:36 +09:00
parent fa183f9d92
commit 8927fb88b4
5 changed files with 64 additions and 31 deletions
@@ -76,6 +76,15 @@ export class ContentsApiService implements ContentsService {
`${ENDPOINT.CMS_SERVICE.CONTENTS_DETAILS}/${contsSn}/${contsVer}/approveRequest`,
);
}
public async approveContents(
contsSn: number,
contsVer: number,
): Promise<void> {
await client.put(
`${ENDPOINT.CMS_SERVICE.CONTENTS_DETAILS}/${contsSn}/${contsVer}/approve`,
);
}
}
export const ContentsApi = new ContentsApiService();