From 7ee00d18eea292ab3c87c25f82e0749287f46a82 Mon Sep 17 00:00:00 2001 From: yezian Date: Tue, 18 Feb 2025 18:42:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=B7=A8=E9=87=8F=E5=9F=8B?= =?UTF-8?q?=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pay/page.jsx | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/app/pay/page.jsx b/app/pay/page.jsx index d7c6c35..3ed2c82 100644 --- a/app/pay/page.jsx +++ b/app/pay/page.jsx @@ -30,27 +30,27 @@ export default function Pay() { }, []); //巨量埋点 - useEffect(() => { - const handleEvent = async () => { - const clickId = getCookie("clickid"); - await fetch("/event/v2/conversion", { - method: "POST", - headers: { - "Content-Type": "application/json", - }, - body: JSON.stringify({ - event_type: "in_app_detail_uv", - context: { - ad: { - callback: clickId, - }, - }, - timestamp: new Date().getTime(), - }), - }); - }; - handleEvent(); - }, []); + // useEffect(() => { + // const handleEvent = async () => { + // const clickId = getCookie("clickid"); + // await fetch("/event/v2/conversion", { + // method: "POST", + // headers: { + // "Content-Type": "application/json", + // }, + // body: JSON.stringify({ + // event_type: "in_app_detail_uv", + // context: { + // ad: { + // callback: clickId, + // }, + // }, + // timestamp: new Date().getTime(), + // }), + // }); + // }; + // handleEvent(); + // }, []); const [time, setTime] = useState(30 * 60 * 100);