提交 d9016a50 authored 作者: pengxiaohui's avatar pengxiaohui

增加微信h5支付回调地址

上级 da9143a7
...@@ -221,7 +221,7 @@ export default { ...@@ -221,7 +221,7 @@ export default {
// 微信外微信h5支付 // 微信外微信h5支付
window.sessionStorage.setItem('isBackFormWxH5Pay', 1) window.sessionStorage.setItem('isBackFormWxH5Pay', 1)
window.sessionStorage.setItem('payment_order_id', res.payment_order_id) window.sessionStorage.setItem('payment_order_id', res.payment_order_id)
window.location.href = res.payment_url window.location.href = res.payment_url + '&redirect_url=' + encodeURIComponent(window.location.href)
} else if (payType === 12) { } else if (payType === 12) {
// 支付宝网页支付 // 支付宝网页支付
console.log(res) console.log(res)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论