diff --git a/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx b/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx index 32ba83ff..0bfbde1e 100644 --- a/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx +++ b/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx @@ -118,6 +118,7 @@ export default function MobileSendPopUp({ const [recentSentNumber, setRecentSentNumber] = useState([]); const [keyPadOff, setKeyPadOff] = useState(false); const [smsRetCode, setSmsRetCode] = useState(undefined); + const [tempParams, setTempParam] = useState(null); const agreeBtnClickedRef = useRef(false); @@ -397,6 +398,7 @@ export default function MobileSendPopUp({ if (smsTpCd === "APP00204") { params = { ...params, curationId }; } + setTempParam(params); dispatch(sendSms(params)); } // EVT00101 & APP00207(welcome) EVT00103 & APP00209 (welcome+Prizes) : smsTpCd 값을 받지 않음 @@ -491,7 +493,8 @@ export default function MobileSendPopUp({ }, [dispatch]); const getSmsErrorMsg = useMemo(() => { - const SMS_ERROR_502 = $L("The event information has not been registered"); + // const SMS_ERROR_502 = $L("The event information has not been registered"); + const SMS_ERROR_502 =
${JSON.stringify(tempParams, null, 2)};
const SMS_ERROR_903 = $L("You have exceeded the daily text limit.");
const SMS_ERROR_904 = $L(
"You have exceeded the text limit for this product."
diff --git a/com.twin.app.shoptime/src/views/DetailPanel/DetailPanel.jsx b/com.twin.app.shoptime/src/views/DetailPanel/DetailPanel.jsx
index 20f1401e..744e6850 100644
--- a/com.twin.app.shoptime/src/views/DetailPanel/DetailPanel.jsx
+++ b/com.twin.app.shoptime/src/views/DetailPanel/DetailPanel.jsx
@@ -527,7 +527,7 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
patncNm={productData?.patncNm}
productImg={mobileSendPopUpProductImg}
patnrId={panelInfo?.patnrId}
- prdtId={panelInfo?.prdtId}
+ prdtId={panelInfo?.themePrdtId ?? panelInfo?.prdtId}
smsTpCd={panelInfo?.type === "hotel" ? "APP00205" : "APP00201"}
curationId={panelInfo?.curationId}
curationNm={panelInfo?.curationNm}