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

支付回调接口修改

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