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 94acacb..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 )}` ); @@ -273,7 +273,7 @@ export default function Pay() { )}
-
+
- {/*
+
-
*/} +
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 87b7312..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 )}` ); @@ -246,7 +246,7 @@ export default function Vip() {
-
+
createOrder("alipay_h5")} className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" @@ -257,7 +257,7 @@ export default function Vip() {

- {/*
+
createOrder("wxpay_h5")} className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" @@ -272,7 +272,7 @@ export default function Vip() { 微信支付

-
*/} +

确认购买即视为同意 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 1150c36..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 )}` ); @@ -305,7 +305,7 @@ export default function Pay({ params }) {

-
+
createOrder("alipay_h5")} className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" @@ -316,7 +316,7 @@ export default function Pay({ params }) {

- {/*
+
createOrder("wxpay_h5")} className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" @@ -331,7 +331,7 @@ export default function Pay({ params }) { 微信支付

-
*/} +

确认购买即视为同意