[Log] IF-LGSP-LOG-008, modify useEffect for sms success (MobileSendPopUp.jsx, HotelProduct.jsx)
This commit is contained in:
@@ -405,24 +405,22 @@ export default function MobileSendPopUp({
|
|||||||
regDeviceInfoRetCode === 0 ||
|
regDeviceInfoRetCode === 0 ||
|
||||||
curationCouponSuccess === 0
|
curationCouponSuccess === 0
|
||||||
) {
|
) {
|
||||||
|
if (shopByMobileLogRef) {
|
||||||
|
let params = {
|
||||||
|
...shopByMobileLogRef.current,
|
||||||
|
logTpNo: LOG_TP_NO.SHOP_BY_MOBILE.AGREE_AND_SEND,
|
||||||
|
mbphNoFlag: "Y",
|
||||||
|
trmsAgrFlag: "Y",
|
||||||
|
};
|
||||||
|
|
||||||
|
dispatch(sendLogShopByMobile(params));
|
||||||
|
shopByMobileLogRef.current = null;
|
||||||
|
}
|
||||||
|
|
||||||
timer = setTimeout(() => {
|
timer = setTimeout(() => {
|
||||||
dispatch(setHidePopup());
|
dispatch(setHidePopup());
|
||||||
|
if (spotlightId) Spotlight.focus(spotlightId);
|
||||||
if (shopByMobileLogRef) {
|
else Spotlight.focus();
|
||||||
let params = {
|
|
||||||
...shopByMobileLogRef.current,
|
|
||||||
logTpNo: LOG_TP_NO.SHOP_BY_MOBILE.AGREE_AND_SEND,
|
|
||||||
mbphNoFlag: "Y",
|
|
||||||
trmsAgrFlag: "Y",
|
|
||||||
};
|
|
||||||
|
|
||||||
dispatch(sendLogShopByMobile(params));
|
|
||||||
shopByMobileLogRef.current = null;
|
|
||||||
|
|
||||||
if (spotlightId) {
|
|
||||||
Spotlight.focus(spotlightId);
|
|
||||||
} else Spotlight.focus();
|
|
||||||
}
|
|
||||||
}, 3000);
|
}, 3000);
|
||||||
|
|
||||||
return () => clearTimeout(timer);
|
return () => clearTimeout(timer);
|
||||||
|
|||||||
@@ -151,6 +151,8 @@ export default function HotelOption({
|
|||||||
befPrice: selectedHotelInfo.hotelInfo?.hotelDetailInfo?.price,
|
befPrice: selectedHotelInfo.hotelInfo?.hotelDetailInfo?.price,
|
||||||
curationId: selectedHotelInfo.curationId,
|
curationId: selectedHotelInfo.curationId,
|
||||||
curationNm: selectedHotelInfo.curationNm,
|
curationNm: selectedHotelInfo.curationNm,
|
||||||
|
evntId: "",
|
||||||
|
evntNm: "",
|
||||||
lastPrice: selectedHotelInfo.hotelInfo?.hotelDetailInfo?.price,
|
lastPrice: selectedHotelInfo.hotelInfo?.hotelDetailInfo?.price,
|
||||||
lgCatCd: "",
|
lgCatCd: "",
|
||||||
lgCatNm: "",
|
lgCatNm: "",
|
||||||
|
|||||||
Reference in New Issue
Block a user