youmayalsolike api log 추가
This commit is contained in:
@@ -245,9 +245,7 @@ export const getSubCategory =
|
||||
);
|
||||
};
|
||||
|
||||
export const continueGetSubCategory =
|
||||
(key, pageNo) =>
|
||||
(dispatch, getState) => {
|
||||
export const continueGetSubCategory = (key, pageNo) => (dispatch, getState) => {
|
||||
if (!lastSubCategoryParams) {
|
||||
console.warn("No previous category parameters found");
|
||||
return;
|
||||
@@ -263,7 +261,7 @@ export const continueGetSubCategory =
|
||||
if (
|
||||
(startIndex <= 1 && !targetData) ||
|
||||
startIndex < targetData.length ||
|
||||
(totalCount -1) <= startIndex
|
||||
totalCount - 1 <= startIndex
|
||||
) {
|
||||
//ignore query
|
||||
return;
|
||||
@@ -308,7 +306,7 @@ export const getTop20Show = () => (dispatch, getState) => {
|
||||
|
||||
// 유메이라이크 아이템 리스트 IF-LGSP-201
|
||||
export const getMainYouMayLike =
|
||||
({ lgCatCd, exclCurationId, exclPatnrId, exclPrdtId }) =>
|
||||
({ lgCatCd, exclCurationId, exclPatnrId, exclPrdtId, catDpTh3, catDpTh4 }) =>
|
||||
(dispatch, getState) => {
|
||||
const onSuccess = (response) => {
|
||||
console.log("getMainYouMayLike onSuccess ", response.data);
|
||||
@@ -328,7 +326,7 @@ export const getMainYouMayLike =
|
||||
getState,
|
||||
"get",
|
||||
URLS.GET_YOUMAYLIKE,
|
||||
{ lgCatCd, exclCurationId, exclPatnrId, exclPrdtId },
|
||||
{ lgCatCd, catDpTh3, catDpTh4, exclCurationId, exclPatnrId, exclPrdtId },
|
||||
{},
|
||||
onSuccess,
|
||||
onFail
|
||||
|
||||
@@ -138,6 +138,8 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
|
||||
exclCurationId: panelInfo?.curationId,
|
||||
exclPatnrId: panelInfo?.patnrId,
|
||||
exclPrdtId: panelInfo?.prdtId,
|
||||
catDpTh3: productData?.catDpTh3,
|
||||
catDpTh4: productData?.catDpTh4,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@ export default function TabContainer({
|
||||
: $L("FEATURED SHOWS"),
|
||||
];
|
||||
|
||||
// console.log("###liveChannelInfos", liveChannelInfos[selectedIndex]);
|
||||
const handleItemClick = useCallback(
|
||||
({ index }) => {
|
||||
if (index === tab) return;
|
||||
@@ -101,7 +102,6 @@ export default function TabContainer({
|
||||
},
|
||||
[videoVerticalVisible]
|
||||
);
|
||||
|
||||
return (
|
||||
<Container
|
||||
className={classNames(
|
||||
|
||||
@@ -19,7 +19,6 @@ export default function YouMayLikeContents({
|
||||
const youmaylikeInfos = useSelector((state) => state.main.youmaylikeInfos);
|
||||
|
||||
const gridStyle = useMemo(() => ({ height: `${height}px` }), [height]);
|
||||
|
||||
useEffect(() => {
|
||||
if (shopNowInfo && shopNowInfo.length === 2) {
|
||||
setHeight(scaleH(300));
|
||||
@@ -52,6 +51,8 @@ export default function YouMayLikeContents({
|
||||
showNm: playListInfo?.showNm,
|
||||
showId: playListInfo?.showId,
|
||||
liveFlag: playListInfo?.liveFlag,
|
||||
catDpTh3: playListInfo?.catDpTh3,
|
||||
catDpTh4: playListInfo?.catDpTh4,
|
||||
patnrId,
|
||||
prdtId,
|
||||
launchedFromPlayer: true,
|
||||
|
||||
Reference in New Issue
Block a user