- 添加确认订单

- 添加查看物流
This commit is contained in:
sin
2019-04-12 23:00:12 +08:00
parent df021b9ebe
commit 209725a25b
3 changed files with 67 additions and 39 deletions

View File

@@ -11,12 +11,12 @@ export function getOrderPage(params) {
});
}
export function cancelOrder(id) {
export function confirmReceiving(orderId) {
return request({
url: '/product-api/users/spu/info',
method: 'get',
url: '/order-api/users/order/confirm_receiving',
method: 'post',
params: {
id,
orderId,
}
});
}
@@ -66,3 +66,15 @@ export function countCart() {
}
});
}
// 物流信息
export function getLogisticsInfo(params) {
return request({
url: '/order-api/users/order_logistics/logistics_info',
method: 'get',
params: {
...params,
}
});
}