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);