[deepLink] 딥링크 내용 추가

This commit is contained in:
jangheon Pyo
2024-04-22 10:55:16 +09:00
parent 624c4ba782
commit c0a3729e3b
2 changed files with 11 additions and 19 deletions

View File

@@ -141,8 +141,6 @@ export const handleDeepLink = (contentTarget) => (dispatch, getState) => {
};
break;
case "OS":
// 미완성
// 서브카테고리명 확인 필요
// "OS": On Sale
// V3_진입경로코드_진입경로명_OS_LG카테고리Code_서브카테고리명
lgCatCd = tokens[4]; // LG카테고리Code
@@ -151,14 +149,16 @@ export const handleDeepLink = (contentTarget) => (dispatch, getState) => {
panelName = panel_names.ON_SALE_PANEL;
panelInfo = {
lgCatCd: lgCatCd,
lgCatNm: lgCatNm,
};
break;
case "BS":
// 미완성
// TrendingNow 페이지에서 best sellers 위치 이동 처리
// "BS": Best Sellers
// V3_진입경로코드_진입경로명_BS
panelName = panel_names.TRENDING_NOW_PANEL;
panelInfo = {
pageName: "BS",
};
break;
case "PS":
// "PS": Popular Shows
@@ -167,26 +167,20 @@ export const handleDeepLink = (contentTarget) => (dispatch, getState) => {
break;
case "SC":
// 미완성
// 카테고리 페이지 tab type 확인
// "SC": Sub Category
// V3_진입경로코드_진입경로명_SC_LG카테고리Code_서브카테고리명_컨텐츠타입
// * 컨텐츠 타입 : Show / Item
lgCatCd = tokens[4]; // LG카테고리Code
lgCatNm = tokens[5]; // 서브카테고리명
tabType = tokens[6]; // 컨텐츠타입
tabType = tokens[6].toLowerCase(); // 컨텐츠타입
panelName = panel_names.CATEGORY_PANEL;
panelInfo = {
lgCatCd: lgCatCd,
lgCatNm: lgCatNm,
tab: tabType === "show" ? 0 : 1,
};
// * LG 카테고리 Code :
// - 코드정의 : Admin > Master > Master Upload Mgmt. > Category Info(LG) > Show Data 버튼
// - 복수개 가능 ( 콤마 "," 구분자)
// * 서브카테고리명 : 서브 카테고리 화면 상단에 출력 (스페이스 가능)
// "SC": Sub Category
// * 컨텐츠 타입 : Show / Item
break;
case "FB":
// "FB": Featured Brands