提交 e3da0f63 authored 作者: haodaking's avatar haodaking

bug fixes

上级 95597e3d
...@@ -61,7 +61,8 @@ export default { ...@@ -61,7 +61,8 @@ export default {
payment_method: payment[this.payment], payment_method: payment[this.payment],
shop_id: this.product.shop_id, shop_id: this.product.shop_id,
spu_id: this.product.spu_id, spu_id: this.product.spu_id,
sku_id: this.product.sku_id sku_id: this.product.sku_id,
notify_url: this.notifyUrl
} }
return api.createOrder(params).then(response => { return api.createOrder(params).then(response => {
if (response.code === 0) { if (response.code === 0) {
......
...@@ -44,7 +44,7 @@ export default { ...@@ -44,7 +44,7 @@ export default {
shop_id: product.shop_id, shop_id: product.shop_id,
spu_id: product.spu_id, spu_id: product.spu_id,
sku_id: product.sku_id, sku_id: product.sku_id,
redirect_url: `${location.origin}/api/ehall/v2/lobby/update-status-api/${this.pid}/sofia` notify_url: `${location.origin}/api/ehall/v2/lobby/update-status-api/${this.pid}`
} }
return api.createOrder(params).then(order => { return api.createOrder(params).then(order => {
const redirectURI = `${location.href}&order_no=${order.order_id}` const redirectURI = `${location.href}&order_no=${order.order_id}`
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论