Commit 74131c77 authored by fwz's avatar fwz

取消订单

parent 58509a0f
......@@ -224,6 +224,14 @@ export default {
},
fail: function (err) {
//console.log('支付失败',err);
if(that.orderSubmit.ids !== undefined && that.orderSubmit.ids !== null && that.orderSubmit.ids.length > 0){
let opts = { url: '/app/mall/cancel/order', method: 'post' }
this.http.httpTokenRequest(opts, that.orderSubmit.ids).then(res => {
if(res.data.code == 200){
}
})
}
},
});
} else {
......
......@@ -139,6 +139,14 @@ export default {
},
fail: function (err) {
//console.log('支付失败',err);
if(that.orderSubmit.ids !== undefined && that.orderSubmit.ids !== null && that.orderSubmit.ids.length > 0){
let opts = { url: '/app/mall/cancel/order', method: 'post' }
this.http.httpTokenRequest(opts, that.orderSubmit.ids).then(res => {
if(res.data.code == 200){
}
})
}
},
});
} else {
......
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