[통합로그 No.4] Home Shelf 이동 시 해당 Shelf에 맞는 정보 수집

This commit is contained in:
dongyoungKo
2025-05-12 18:04:22 +09:00
parent b68888a3b5
commit 80bcae4cae
10 changed files with 154 additions and 66 deletions

View File

@@ -1,20 +1,11 @@
import {
countryCode,
URLS,
} from '../api/apiConfig';
import { TLogEvent } from '../api/TLogEvent';
import {
LOG_MENU,
LOG_TP_NO,
} from '../utils/Config';
import { countryCode, URLS } from "../api/apiConfig";
import { TLogEvent } from "../api/TLogEvent";
import { LOG_MENU, LOG_TP_NO } from "../utils/Config";
import {
formatGMTString,
getTimeDifferenceByMilliseconds,
} from '../utils/helperMethods';
import {
setGNBMenu,
setSecondLayerInfo,
} from './commonActions';
} from "../utils/helperMethods";
import { setGNBMenu, setSecondLayerInfo } from "./commonActions";
export const getUrlByLogTpNo = (logTpNo) => {
switch (logTpNo) {
@@ -166,11 +157,11 @@ 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) => {
console.error("totalLog onFail...", error);
// console.error("totalLog onFail...", error);
};
TLogEvent(
@@ -1608,6 +1599,7 @@ export const sendLogTotalRecommend = (params) => (dispatch, getState) => {
const logCreateTime = new Date().toISOString();
console.log("#params", params);
const newParams = {
...params,
userNumber: userNumber,