[통합로그API] contentId value 추가
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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]);
|
||||
|
||||
|
||||
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user