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);