upgrade 8.6
This commit is contained in:
@@ -259,12 +259,13 @@ export default {
|
||||
return vm.$u.post('Order/buyer_cancel', params);
|
||||
},
|
||||
// add_refund
|
||||
refundOrder({ order_id, goods_id, refund_amount, refund_type = 1 } = {}) {
|
||||
refundOrder({ order_id, goods_id, goods_num, reason_info, refund_amount } = {}) {
|
||||
return vm.$u.post('order/add_refund', {
|
||||
order_id: order_id,
|
||||
goods_id: goods_id,
|
||||
refund_amount: refund_amount,
|
||||
refund_type: refund_type,
|
||||
goods_num: goods_num,
|
||||
reason_info: reason_info,
|
||||
});
|
||||
},
|
||||
// 删除订单
|
||||
|
||||
@@ -36,7 +36,7 @@ const install = (Vue, vm) => {
|
||||
} else {
|
||||
// 如果返回false,则会调用Promise的reject回调,
|
||||
// 并将进入this.$u.post(url).then().catch(res=>{})的catch回调中,res为服务端的返回值
|
||||
return false;
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user