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

14 lines
353 B
React
Raw Normal View History

2024-02-26 23:44:25 +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);
}, []);
return <section className="bg-white"></section>;
}