From b8d413ca096f2b99501eecbfc5f90e92d9d23b30 Mon Sep 17 00:00:00 2001 From: yezian Date: Tue, 7 May 2024 20:21:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E5=BE=AE=E4=BF=A1=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/[user_id]/_components/WechatBar/index.jsx | 4 ++-- app/pay/page.jsx | 2 +- app/purchased/page.jsx | 2 +- app/vip/page.jsx | 2 +- app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/[user_id]/_components/WechatBar/index.jsx b/app/[user_id]/_components/WechatBar/index.jsx index 9f3bc4d..59713a3 100644 --- a/app/[user_id]/_components/WechatBar/index.jsx +++ b/app/[user_id]/_components/WechatBar/index.jsx @@ -68,9 +68,9 @@ export default function WechatBar({ break; case "wxpay_h5": router.push( - `https://weixin.tiefen.fun/pay/wxpay_h5/${encodeURIComponent( + `https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent( temData.data.wxpay_h5_param_str + - "&redirect_url=https%3A%2F%2Fweixin.tiefen.fun%2Fpurchased" + "&redirect_url=https%3A%2F%2Fshop.tiefen.fun%2Fpurchased" )}` ); break; diff --git a/app/pay/page.jsx b/app/pay/page.jsx index 2caccbf..8646dfe 100644 --- a/app/pay/page.jsx +++ b/app/pay/page.jsx @@ -134,7 +134,7 @@ export default function Pay() { break; case "wxpay_h5": router.push( - `https://weixin.tiefen.fun/pay/wxpay_h5/${encodeURIComponent( + `https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent( data.data.wxpay_h5_param_str )}` ); diff --git a/app/purchased/page.jsx b/app/purchased/page.jsx index d1629ae..a7c76b7 100644 --- a/app/purchased/page.jsx +++ b/app/purchased/page.jsx @@ -13,7 +13,7 @@ export default function Purchased() { const router = useRouter(); useEffect(() => { const prepare = async () => { - if (window.location.origin === "https://weixin.tiefen.fun") { + if (window.location.origin === "https://shop.tiefen.fun") { router.replace("https://tiefen.fun/purchased"); return; } diff --git a/app/vip/page.jsx b/app/vip/page.jsx index d99e4b9..f6bad47 100644 --- a/app/vip/page.jsx +++ b/app/vip/page.jsx @@ -125,7 +125,7 @@ export default function Vip() { break; case "wxpay_h5": router.push( - `https://weixin.tiefen.fun/pay/wxpay_h5/${encodeURIComponent( + `https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent( data.data.wxpay_h5_param_str )}` ); 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 557a2cd..2320063 100644 --- a/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx +++ b/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx @@ -140,7 +140,7 @@ export default function Pay({ params }) { break; case "wxpay_h5": router.push( - `https://weixin.tiefen.fun/pay/wxpay_h5/${encodeURIComponent( + `https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent( data.data.wxpay_h5_param_str )}` ); -- 2.41.0