Skip to content

Commit

Permalink
feat: recommend list api 및 타입 제작 #245
Browse files Browse the repository at this point in the history
  • Loading branch information
bottlewook committed Mar 3, 2024
1 parent 3dc27c5 commit f55eb38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/remote/api/requests/home/home.get.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const getBanner = async () => {

/* ----- 추천 제품 정보 api ----- */
export const getRecommendProducts = async () => {
const response = await getRequest<RecommendProductsType>('/recommend_products');
const response = await getRequest<RecommendProductsType>('/recommend-products');

return response;
};
Expand Down
4 changes: 2 additions & 2 deletions src/remote/api/types/home.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit f55eb38

Please sign in to comment.