- 添加确认订单
- 添加查看物流
This commit is contained in:
@@ -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,
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user