[SHOPTIME-3478] [TV-LOG-API] 310, 311번 TOP display 로그 : contNm 변경 요청
변경 파일: 1. RandomUnit.jsx 2. RollingUnit.jsx 변경 사항: 1. topContentsLogInfo, "contNm" 값 수정 2. topContentsLogInfo, "contNm" 값 수정
This commit is contained in:
@@ -80,21 +80,33 @@ export default function RandomUnit({
|
||||
let contId, contNm;
|
||||
|
||||
switch (currentRandomData?.shptmBanrTpCd) {
|
||||
// case: "LIVE" or "VOD"
|
||||
case "DSP00301":
|
||||
case "DSP00302":
|
||||
contId = currentRandomData?.showId;
|
||||
contNm = currentRandomData?.showNm;
|
||||
break;
|
||||
|
||||
// case: "Image Banner"
|
||||
case "DSP00303":
|
||||
contId = currentRandomData?.shptmLnkTpCd;
|
||||
contNm = currentRandomData?.shptmLnkTpNm;
|
||||
break;
|
||||
|
||||
// case: "Today's Deals"
|
||||
default:
|
||||
contId = currentRandomData?.prdtId;
|
||||
contNm = currentRandomData?.prdtNm;
|
||||
break;
|
||||
}
|
||||
|
||||
if (
|
||||
currentRandomData?.shptmLnkTpCd === "DSP00503" || // "Hot Picks"
|
||||
currentRandomData?.shptmLnkTpCd === "DSP00509" // "Theme"
|
||||
) {
|
||||
contNm = contNm + " | " + currentRandomData?.lnkCurationId;
|
||||
}
|
||||
|
||||
return {
|
||||
banrNo: `${currentRandomData?.banrDpOrd}`,
|
||||
banrTpNm: currentRandomData?.vtctpYn
|
||||
|
||||
@@ -109,21 +109,33 @@ export default function RollingUnit({
|
||||
let contId, contNm;
|
||||
|
||||
switch (currentRollingData?.shptmBanrTpCd) {
|
||||
// case: "LIVE" or "VOD"
|
||||
case "DSP00301":
|
||||
case "DSP00302":
|
||||
contId = currentRollingData?.showId;
|
||||
contNm = currentRollingData?.showNm;
|
||||
break;
|
||||
|
||||
// case: "Image Banner"
|
||||
case "DSP00303":
|
||||
contId = currentRollingData?.shptmLnkTpCd;
|
||||
contNm = currentRollingData?.shptmLnkTpNm;
|
||||
break;
|
||||
|
||||
// case: "Today's Deals"
|
||||
default:
|
||||
contId = currentRollingData?.prdtId;
|
||||
contNm = currentRollingData?.prdtNm;
|
||||
break;
|
||||
}
|
||||
|
||||
if (
|
||||
currentRollingData?.shptmLnkTpCd === "DSP00503" || // "Hot Picks"
|
||||
currentRollingData?.shptmLnkTpCd === "DSP00509" // "Theme"
|
||||
) {
|
||||
contNm = contNm + " | " + currentRollingData?.lnkCurationId;
|
||||
}
|
||||
|
||||
return {
|
||||
banrNo: `${currentRollingData?.banrDpOrd}`,
|
||||
banrTpNm: currentRollingData?.vtctpYn
|
||||
|
||||
Reference in New Issue
Block a user