tiefen_space_h5/app/wxpay_h5/[url]/page.js

13 lines
353 B
JavaScript
Raw Permalink Normal View History

2024-08-12 18:02:42 +08:00
"use client";
import React, { useEffect } from "react";
import { useRouter } from "next/navigation";
export default function WxpayH5({ params }) {
const router = useRouter();
useEffect(() => {
const redirect_uri = decodeURIComponent(params.url);
router.replace(redirect_uri);
}, []);
2024-08-12 18:13:46 +08:00
return <section className="bg-white"> </section>;
2024-08-12 18:02:42 +08:00
}