添加申请退货

This commit is contained in:
sin
2019-04-26 00:25:13 +08:00
parent 1c5f413ca1
commit 01e5404e8c
5 changed files with 218 additions and 140 deletions

View File

@@ -142,3 +142,26 @@ export function getLogisticsInfo(params) {
}
});
}
// 退货信息
export function getOrderReturnReason() {
return request({
url: '/order-api/users/order_return/reason',
method: 'get',
});
}
export function orderReturnApply(params) {
return request({
headers: {
'Content-Type': 'application/json',
},
url: '/order-api/users/order_return/apply',
method: 'POST',
data: {
...params,
},
});
}