[통합로그]shop by mobile 버튼 클릭시 수집
This commit is contained in:
@@ -4,72 +4,61 @@ import React, {
|
|||||||
useMemo,
|
useMemo,
|
||||||
useRef,
|
useRef,
|
||||||
useState,
|
useState,
|
||||||
} from 'react';
|
} from "react";
|
||||||
|
|
||||||
import classNames from 'classnames';
|
import classNames from "classnames";
|
||||||
import {
|
import {
|
||||||
AsYouTypeFormatter,
|
AsYouTypeFormatter,
|
||||||
PhoneNumberFormat,
|
PhoneNumberFormat,
|
||||||
PhoneNumberUtil,
|
PhoneNumberUtil,
|
||||||
} from 'google-libphonenumber';
|
} from "google-libphonenumber";
|
||||||
import {
|
import { useDispatch, useSelector } from "react-redux";
|
||||||
useDispatch,
|
|
||||||
useSelector,
|
|
||||||
} from 'react-redux';
|
|
||||||
|
|
||||||
import {
|
import { off, on } from "@enact/core/dispatcher";
|
||||||
off,
|
import spotlight, { Spotlight } from "@enact/spotlight";
|
||||||
on,
|
import { SpotlightContainerDecorator } from "@enact/spotlight/SpotlightContainerDecorator";
|
||||||
} from '@enact/core/dispatcher';
|
import { Spottable } from "@enact/spotlight/Spottable";
|
||||||
import spotlight, { Spotlight } from '@enact/spotlight';
|
|
||||||
import {
|
|
||||||
SpotlightContainerDecorator,
|
|
||||||
} from '@enact/spotlight/SpotlightContainerDecorator';
|
|
||||||
import { Spottable } from '@enact/spotlight/Spottable';
|
|
||||||
|
|
||||||
import defaultImage from '../../../assets/images/img-thumb-empty-144@3x.png';
|
import defaultImage from "../../../assets/images/img-thumb-empty-144@3x.png";
|
||||||
import { types } from '../../actions/actionTypes';
|
import { types } from "../../actions/actionTypes";
|
||||||
import {
|
import { clearSMS, sendSms } from "../../actions/appDataActions";
|
||||||
clearSMS,
|
|
||||||
sendSms,
|
|
||||||
} from '../../actions/appDataActions';
|
|
||||||
import {
|
import {
|
||||||
changeLocalSettings,
|
changeLocalSettings,
|
||||||
setHidePopup,
|
setHidePopup,
|
||||||
setShowPopup,
|
setShowPopup,
|
||||||
} from '../../actions/commonActions';
|
} from "../../actions/commonActions";
|
||||||
import {
|
import {
|
||||||
clearRegisterDeviceInfo,
|
clearRegisterDeviceInfo,
|
||||||
getDeviceAdditionInfo,
|
getDeviceAdditionInfo,
|
||||||
registerDeviceInfo,
|
registerDeviceInfo,
|
||||||
} from '../../actions/deviceActions';
|
} from "../../actions/deviceActions";
|
||||||
import {
|
import {
|
||||||
clearCurationCoupon,
|
clearCurationCoupon,
|
||||||
setEventIssueReq,
|
setEventIssueReq,
|
||||||
} from '../../actions/eventActions';
|
} from "../../actions/eventActions";
|
||||||
import {
|
import {
|
||||||
sendLogShopByMobile,
|
sendLogShopByMobile,
|
||||||
sendLogTotalRecommend,
|
sendLogTotalRecommend,
|
||||||
} from '../../actions/logActions';
|
} from "../../actions/logActions";
|
||||||
import {
|
import {
|
||||||
ACTIVE_POPUP,
|
ACTIVE_POPUP,
|
||||||
LOG_CONTEXT_NAME,
|
LOG_CONTEXT_NAME,
|
||||||
LOG_MESSAGE_ID,
|
LOG_MESSAGE_ID,
|
||||||
LOG_TP_NO,
|
LOG_TP_NO,
|
||||||
} from '../../utils/Config';
|
} from "../../utils/Config";
|
||||||
import {
|
import {
|
||||||
$L,
|
$L,
|
||||||
decryptPhoneNumber,
|
decryptPhoneNumber,
|
||||||
encryptPhoneNumber,
|
encryptPhoneNumber,
|
||||||
formatLocalDateTime,
|
formatLocalDateTime,
|
||||||
} from '../../utils/helperMethods';
|
} from "../../utils/helperMethods";
|
||||||
import CustomImage from '../CustomImage/CustomImage';
|
import CustomImage from "../CustomImage/CustomImage";
|
||||||
import TButton from '../TButton/TButton';
|
import TButton from "../TButton/TButton";
|
||||||
import TPopUp from '../TPopUp/TPopUp';
|
import TPopUp from "../TPopUp/TPopUp";
|
||||||
import HistoryPhoneNumber from './HistoryPhoneNumber/HistoryPhoneNumber';
|
import HistoryPhoneNumber from "./HistoryPhoneNumber/HistoryPhoneNumber";
|
||||||
import css from './MobileSendPopUp.module.less';
|
import css from "./MobileSendPopUp.module.less";
|
||||||
import PhoneInputSection from './PhoneInputSection';
|
import PhoneInputSection from "./PhoneInputSection";
|
||||||
import SMSNumKeyPad from './SMSNumKeyPad';
|
import SMSNumKeyPad from "./SMSNumKeyPad";
|
||||||
|
|
||||||
const SECRET_KEY = "fy7BTKuM9eeTQqEC9sF3Iw5qG43Aaip";
|
const SECRET_KEY = "fy7BTKuM9eeTQqEC9sF3Iw5qG43Aaip";
|
||||||
|
|
||||||
@@ -463,7 +452,10 @@ export default function MobileSendPopUp({
|
|||||||
const logParams = {
|
const logParams = {
|
||||||
status: "send",
|
status: "send",
|
||||||
nowMenu: nowMenu,
|
nowMenu: nowMenu,
|
||||||
partner: patncNm,
|
partner: patncNm ?? shopByMobileLogRef?.current?.patncNm,
|
||||||
|
productId: prdtId ?? shopByMobileLogRef?.current?.prdtId,
|
||||||
|
productTitle: title ?? shopByMobileLogRef?.current?.prdtNm,
|
||||||
|
brand: shopByMobileLogRef?.current?.brndNm,
|
||||||
contextName: LOG_CONTEXT_NAME.SHOPBYMOBILE,
|
contextName: LOG_CONTEXT_NAME.SHOPBYMOBILE,
|
||||||
messageId: LOG_MESSAGE_ID.SMB,
|
messageId: LOG_MESSAGE_ID.SMB,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user