From de8888895fe6a6f2bfc8744e3e3955136307aff3 Mon Sep 17 00:00:00 2001 From: al Date: Wed, 24 Jul 2024 14:25:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0from=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pay/page.jsx | 2 +- app/vip/page.jsx | 2 +- app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/pay/page.jsx b/app/pay/page.jsx index 8fe2f16..170fd8c 100644 --- a/app/pay/page.jsx +++ b/app/pay/page.jsx @@ -110,7 +110,7 @@ export default function Pay() { custom_coins: customCoin.selected ? customCoin.num : 0, pay_type: type, redirect_url: type === "yeepay_wxpay_h5" ? window.location.href : "", - from: "app", + from: searchParams.get("base")?"web":"app", }; //如果是微信jsapi支付直接跳转到中间页 diff --git a/app/vip/page.jsx b/app/vip/page.jsx index 80be7e8..0232f2a 100644 --- a/app/vip/page.jsx +++ b/app/vip/page.jsx @@ -89,7 +89,7 @@ export default function Vip() { product_id: "membership", pay_type: type, redirect_url: type === "yeepay_wxpay_h5" ? window.location.href : "", - from: "app", + from: searchParams.get("base")?"web":"app", }; //如果是微信jsapi支付直接跳转到中间页 diff --git a/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx b/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx index f58cb30..cbc3d48 100644 --- a/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx +++ b/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx @@ -119,7 +119,7 @@ export default function Pay({ params }) { product_id: checked ? "h5_zone_superfanship" : params.product_id, pay_type: type, redirect_url: type === "yeepay_wxpay_h5" ? window.location.href : "", - from: "app", + from: searchParams.get("base")?"web":"app", }; setIsLoading(true);