[통합로그API] contentId value 추가

This commit is contained in:
dongyoungKo
2025-05-14 16:08:05 +09:00
parent 2cf04c43a7
commit b82b6d9900
3 changed files with 9 additions and 4 deletions

View File

@@ -157,7 +157,7 @@ export const getUrlByLogTpNo = (logTpNo) => {
export const postTotalLog = (params, url) => (dispatch, getState) => {
const onSuccess = (response) => {
// console.log("Total Log onSuccess.....", response);
// console.log("#Total Log onSuccess.....", response);
};
const onFail = (error) => {
@@ -1599,6 +1599,7 @@ export const sendLogTotalRecommend = (params) => (dispatch, getState) => {
const logCreateTime = new Date().toISOString();
// console.log("#params", params);
const newParams = {
...params,
userNumber: userNumber,

View File

@@ -154,7 +154,7 @@ export default function RandomUnit({
curationId,
curationTitle,
contentType: data.shptmBanrTpNm,
contentId: "",
contentId: data.showId,
productId: data.prdtId,
productTitle: data.prdtNm,
displayType: "rolling",
@@ -164,6 +164,8 @@ export default function RandomUnit({
bannerType: data.vtctpYn === "Y" ? "Vertical" : "Horizontal",
})
);
console.log("#brandNm", data);
}
}, [randomDataRef, nowMenu]);

View File

@@ -181,10 +181,10 @@ export default function RollingUnit({
curationId: curationId,
curationTitle: curationTitle,
contentType: rollingDataRef.current[startIndex].shptmBanrTpNm,
contentId: "",
contentId: rollingDataRef.current[startIndex].showId,
productId: rollingDataRef.current[startIndex].prdtId,
productTitle: rollingDataRef.current[startIndex].prdtNm,
displayType: "rolling",
displayType: "button",
partner: rollingDataRef.current[startIndex].patncNm,
brand: rollingDataRef.current[startIndex].brndNm,
location: rollingDataRef.current[startIndex].dspyOrder,
@@ -194,6 +194,8 @@ export default function RollingUnit({
: "Horizontal",
})
);
console.log("#rollingDataRef.current", rollingDataRef.current);
}
}, [nowMenu, rollingDataRef]);