提交 5ea039b6 authored 作者: haodaking's avatar haodaking

bug fixes

上级 e11a3931
VUE_APP_BASE_API=https://learn-api2.ezijing.com
VUE_APP_WECHAT_REDIRECT_URL=https://passport2.ezijing.com/rest/wechat/oauth-callback
\ No newline at end of file
VUE_APP_BASE_API=https://learn-api.ezijing.com
VUE_APP_WECHAT_REDIRECT_URL=https://passport.ezijing.com/rest/wechat/oauth-callback
\ No newline at end of file
......@@ -49,9 +49,9 @@ export default {
return api.createOrder(params).then(order => {
const redirectURI = `${location.href}&order_no=${order.order_id}`
// 去支付
window.location.href = `https://web-pay.ezijing.com/wxpay/h5?prepay_id=${order.pay_order_id}&open_id=${this.openId}&redirect_uri=${encodeURIComponent(
redirectURI
)}`
window.location.href = `https://web-pay.ezijing.com/wxpay/h5?prepay_id=${order.payment_order_id}&open_id=${
this.openId
}&redirect_uri=${encodeURIComponent(redirectURI)}`
})
},
// 获取微信code
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论