From 3565124a8882c371b30af97427c26758220cc6fd Mon Sep 17 00:00:00 2001 From: jueweijue Date: Tue, 10 Sep 2024 20:05:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF1.5.0=E7=89=88=E6=9C=ACios=E8=83=BD?= =?UTF-8?q?=E5=A4=9F=E8=B4=AD=E4=B9=B0=E4=BC=9A=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/vip/page.jsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/app/vip/page.jsx b/app/vip/page.jsx index 358484a..6a12fb1 100644 --- a/app/vip/page.jsx +++ b/app/vip/page.jsx @@ -9,15 +9,6 @@ import { useRouter, useSearchParams } from "next/navigation"; export default function Vip() { const router = useRouter(); const searchParams = useSearchParams(); - const alipayBlock = () => { - if (base?.b_mid === 161) { - createOrder("alipay_h5"); - return; - } - Toast.show({ - content: "支付渠道维护升级中,请24小时后再试", - }); - }; //检查用户是否是vip const [isVip, setIsVip] = useState(false); @@ -86,7 +77,7 @@ export default function Vip() { const [isLoading, setIsLoading] = useState(false); const createOrder = async (type = "alipay_h5") => { const base = webviewBaseRequest(); - if (base?.b_dt === 1) { + if (base?.b_dt === 1 && base?.b_ver !== "1.5.0") { Toast.show({ content: "ios暂时无法开通会员,请等待版本更新", });