diff --git a/src/remote/api/requests/home/home.get.api.ts b/src/remote/api/requests/home/home.get.api.ts index a0fb533a..440f1777 100644 --- a/src/remote/api/requests/home/home.get.api.ts +++ b/src/remote/api/requests/home/home.get.api.ts @@ -14,7 +14,7 @@ export const getBanner = async () => { /* ----- 추천 제품 정보 api ----- */ export const getRecommendProducts = async () => { - const response = await getRequest('/recommend_products'); + const response = await getRequest('/recommend-products'); return response; }; diff --git a/src/remote/api/types/home.ts b/src/remote/api/types/home.ts index f0df3f37..3d0d602a 100644 --- a/src/remote/api/types/home.ts +++ b/src/remote/api/types/home.ts @@ -1,10 +1,10 @@ import { ICommon } from './common'; export interface IBanner { - id: number - link: string + productNo: number imageSource: string alt: string + item: string } export interface IRecommendProducts extends IBanner {