feat: features 프로젝트 재생성

This commit is contained in:
2025-04-29 13:22:00 +09:00
parent 22233a9cba
commit 9d3b110077
246 changed files with 13954 additions and 13 deletions
@@ -0,0 +1,14 @@
import { client } from "@/shared/api";
import { ENDPOINT } from "@/shared/config";
import type { CodeService, ICode } from "../model/code-interface";
export class CodeApiService implements CodeService {
public async getCode(upCd: string): Promise<ICode[]> {
const response = await client.get<ICode[]>(
`${ENDPOINT.CMS_SERVICE.CODE}/${upCd}`,
);
return response.data;
}
}
export const CodeApi = new CodeApiService();