Commit 2ff7e558 authored by IvyXia123's avatar IvyXia123

支付成功修改5

parent bc9aebc3
...@@ -375,7 +375,7 @@ export default { ...@@ -375,7 +375,7 @@ export default {
} }
this.orderFlag = false; this.orderFlag = false;
let payTypeArr = ['WX', 'ALI', '卡分期'] /* let payTypeArr = ['WX', 'ALI', '卡分期']
let data = { pay_type: payTypeArr[this.payIndex], return_url: window.location.href, goods_id: json.goods_id, buy_type: this.groupDetail.goods_type, group_order_id: json.group_order_id, order_coupon_id:json.order_coupon_id } let data = { pay_type: payTypeArr[this.payIndex], return_url: window.location.href, goods_id: json.goods_id, buy_type: this.groupDetail.goods_type, group_order_id: json.group_order_id, order_coupon_id:json.order_coupon_id }
postPayBillApi(data).then(res => { postPayBillApi(data).then(res => {
if(this.payIndex === 0) { if(this.payIndex === 0) {
...@@ -422,8 +422,7 @@ export default { ...@@ -422,8 +422,7 @@ export default {
this.payUrl = res.pay_url; this.payUrl = res.pay_url;
} }
}) })
return false return false*/
payApi(json) payApi(json)
.then(res => { .then(res => {
this.orderNo = res.out_trade_no; this.orderNo = res.out_trade_no;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment