홈배너 API 추가

This commit is contained in:
sungmin.in
2024-01-29 11:05:19 +09:00
parent dccfd98fe7
commit 1cdd305772
7 changed files with 117 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import ThemeDecorator from "@enact/sandstone/ThemeDecorator";
import { getBrandList } from "../features/brand/brandsSlice";
import { getAuthenticationCode } from "../features/device/deviceSlice";
import { getHomeMenu } from "../features/home/homeSlice";
import { getHomeMenu, getHomeLayout, getHomeMainContents } from "../features/home/homeSlice";
import { getMyRecommandedKeyword } from "../features/mypage/myPageSlice";
import { getOnSaleInfo } from "../features/onSale/onSaleSlice";
import { getSubCategory } from "../features/main/mainSlice";
@@ -20,6 +20,8 @@ function AppBase(props) {
useEffect(() => {
dispatch(getAuthenticationCode());
dispatch(getHomeMenu());
dispatch(getHomeLayout());
dispatch(getHomeMainContents());
dispatch(getOnSaleInfo({ categoryIncFlag: "Y", lgCatCd: "" }));
dispatch(getBrandList());
dispatch(getMyRecommandedKeyword());