Merge pull request '修改微信支付在h5的跳转模式' (#113) from main into space_domain
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/113
This commit is contained in:
commit
9c4e329f0d
|
@ -162,11 +162,17 @@ export default function Pay() {
|
|||
router.push(`${data.data.alipay_h5_param_str}`);
|
||||
break;
|
||||
case "wxpay_h5":
|
||||
router.push(
|
||||
`https://yibowanhe.top?url=${encodeURIComponent(
|
||||
if (base.b_ch === "h5") {
|
||||
window.parent.location.href = `https://yibowanhe.top?url=${encodeURIComponent(
|
||||
data.data.wxpay_h5_param_str
|
||||
)}`
|
||||
);
|
||||
)}`;
|
||||
} else {
|
||||
router.push(
|
||||
`https://yibowanhe.top?url=${encodeURIComponent(
|
||||
data.data.wxpay_h5_param_str
|
||||
)}`
|
||||
);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
router.push(`${data.data.alipay_h5_param_str}`);
|
||||
|
@ -244,11 +250,17 @@ export default function Pay() {
|
|||
router.push(`${data.data.alipay_h5_param_str}`);
|
||||
break;
|
||||
case "wxpay_h5":
|
||||
router.push(
|
||||
`https://yibowanhe.top?url=${encodeURIComponent(
|
||||
if (base.b_ch === "h5") {
|
||||
window.parent.location.href = `https://yibowanhe.top?url=${encodeURIComponent(
|
||||
data.data.wxpay_h5_param_str
|
||||
)}`
|
||||
);
|
||||
)}`;
|
||||
} else {
|
||||
router.push(
|
||||
`https://yibowanhe.top?url=${encodeURIComponent(
|
||||
data.data.wxpay_h5_param_str
|
||||
)}`
|
||||
);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
router.push(`${data.data.alipay_h5_param_str}`);
|
||||
|
|
|
@ -132,11 +132,17 @@ export default function Vip() {
|
|||
router.push(`${data.data.alipay_h5_param_str}`);
|
||||
break;
|
||||
case "wxpay_h5":
|
||||
router.push(
|
||||
`https://yibowanhe.top?url=${encodeURIComponent(
|
||||
if (base.b_ch === "h5") {
|
||||
window.parent.location.href = `https://yibowanhe.top?url=${encodeURIComponent(
|
||||
data.data.wxpay_h5_param_str
|
||||
)}`
|
||||
);
|
||||
)}`;
|
||||
} else {
|
||||
router.push(
|
||||
`https://yibowanhe.top?url=${encodeURIComponent(
|
||||
data.data.wxpay_h5_param_str
|
||||
)}`
|
||||
);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
router.push(`${data.data.alipay_h5_param_str}`);
|
||||
|
@ -200,11 +206,17 @@ export default function Vip() {
|
|||
router.push(`${data.data.alipay_h5_param_str}`);
|
||||
break;
|
||||
case "wxpay_h5":
|
||||
router.push(
|
||||
`https://yibowanhe.top?url=${encodeURIComponent(
|
||||
if (base.b_ch === "h5") {
|
||||
window.parent.location.href = `https://yibowanhe.top?url=${encodeURIComponent(
|
||||
data.data.wxpay_h5_param_str
|
||||
)}`
|
||||
);
|
||||
)}`;
|
||||
} else {
|
||||
router.push(
|
||||
`https://yibowanhe.top?url=${encodeURIComponent(
|
||||
data.data.wxpay_h5_param_str
|
||||
)}`
|
||||
);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
router.push(`${data.data.alipay_h5_param_str}`);
|
||||
|
|
Loading…
Reference in New Issue