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

13 lines
353 B
JavaScript

"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);
}, []);
return <section className="bg-white"> </section>;
}