통합로그 console 삭제 및 약관철회 username 수정

This commit is contained in:
opacity@t-win.kr
2025-09-09 17:05:00 +09:00
parent ca7f8efe52
commit 2c0e08091a
5 changed files with 11 additions and 21 deletions

View File

@@ -188,7 +188,7 @@ export const setMyTermsWithdraw =
// 약관철회 파라미터 추가 로그 요청
const httpHeader = getState().common.httpHeader;
const macAddress = getState().common.macAddress;
const userNumber = getState().common.appStatus.loginUserData.userNumber;
const userNumber = getState().common.appStatus.loginUserData?.userNumber;
const macAddr = macAddress?.wired ? macAddress?.wired : macAddress?.wifi;
@@ -213,20 +213,22 @@ export const setMyTermsWithdraw =
console.error("setMyTermsWithdraw onFail ", error);
};
const requestData = {
mandatoryIncludeYn,
termsList,
xDeviceProduct,
macAddr: macAddr ? macAddr : localMacAddress,
userNumber: userNumber || "",
requestTime: logCreateTime,
};
TAxios(
dispatch,
getState,
"post",
URLS.SET_MY_TERMS_WITHDRAW,
{},
{
mandatoryIncludeYn,
termsList,
xDeviceProduct,
macAddr: macAddr ? macAddr : localMacAddress,
userNumber,
requestTime: logCreateTime,
},
requestData,
onSuccess,
onFail
);

View File

@@ -141,7 +141,6 @@ export default memo(function TItemCard({
curationId: curationId,
curationTitle: curationTitle,
};
console.log("###shelfContentClick", params);
dispatch(sendLogTotalRecommend(params));
}
}

View File

@@ -188,11 +188,6 @@ export default function RandomUnit({
location: bannerData.banrLctnNo,
};
dispatch(sendLogTotalRecommend(logParams));
if (bannerClick) {
console.log("###bannerClick", logParams);
} else {
console.log("###bannerShow", logParams);
}
}
},
[dispatch, nowMenu, curationId, curationTitle]

View File

@@ -202,11 +202,6 @@ export default function RollingUnit({
...newParams,
};
dispatch(sendLogTotalRecommend(logParams));
if (bannerClick) {
console.log("###bannerClick", logParams);
} else {
console.log("###bannerShow", logParams);
}
}
},
[nowMenu, rollingDataRef, imageBannerClick]

View File

@@ -39,7 +39,6 @@ export default memo(function OnSaleContents({
shelfId: selectedLgCatCd,
shelfTitle: saleNm,
};
console.log("###shelfListShown", params);
dispatch(sendLogTotalRecommend(params));
}
}, [