提交 1feb5e83 authored 作者: 王鹏飞's avatar 王鹏飞

支付回调接口修改

上级 c8bc6174
......@@ -48,7 +48,7 @@ export default {
return this.$route.params.id
},
notifyUrl() {
return `${location.origin}/api/ehall/v2/lobby/update-status-api/${this.pid}`
return `${location.origin}/api/ehall/v2/lobby/update-status-api/${this.pid}/sofia`
}
},
methods: {
......
......@@ -37,7 +37,7 @@ export default {
methods: {
// 创建微信订单
createWxPayOrder(productId, num = 1) {
const notifyUrl = `${location.origin}/api/ehall/v2/lobby/update-status-api/${this.pid}`
const notifyUrl = `${location.origin}/api/ehall/v2/lobby/update-status-api/${this.pid}/sofia`
return api
.createWxpayOrder('ezijing', productId, { num, type: 7, openid: this.openId, notify_url: notifyUrl })
.then(order => {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论