tiefen_space_web/app/pay/wxpay_h5/[url]/page.jsx

14 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>;
}