From f8c55ddb110c0ef7ae9b544725f79c1506c4e760 Mon Sep 17 00:00:00 2001 From: yezian Date: Wed, 8 Jan 2025 13:47:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E5=B8=81=E5=85=85=E5=80=BC=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E5=AF=8C=E5=8F=8B=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pay/page.jsx | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/app/pay/page.jsx b/app/pay/page.jsx index 56da298..86bb958 100644 --- a/app/pay/page.jsx +++ b/app/pay/page.jsx @@ -10,15 +10,6 @@ import Link from "next/link"; export default function Pay() { const router = useRouter(); const searchParams = useSearchParams(); - const alipayBlock = () => { - if (base?.b_mid === 161) { - createOrder("alipay_h5"); - return; - } - Toast.show({ - content: "支付渠道维护升级中,请24小时后再试", - }); - }; //商品列表 const [productList, setProductList] = useState([]); @@ -150,6 +141,9 @@ export default function Pay() { case "yeepay_wxpay_h5": router.push(`${data.data.yeepay_wxpay_h5_param_str}`); break; + case "fuioupay_wxpay_h5": + router.push(`${data.data.fuioupay_wxpay_h5_param_str}`); + break; case "alipay_h5": router.push(`${data.data.alipay_h5_param_str}`); break; @@ -298,7 +292,7 @@ export default function Pay() {
createOrder("alipay_h5")} + onClick={() => createOrder("fuioupay_wxpay_h5")} className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" >