diff --git a/mobile-web/src/api/order.js b/mobile-web/src/api/order.js index 0663873e6..050d138e0 100644 --- a/mobile-web/src/api/order.js +++ b/mobile-web/src/api/order.js @@ -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, + } + }); +} diff --git a/mobile-web/src/page/user/order/list.vue b/mobile-web/src/page/user/order/list.vue index 5752b0924..27c2ba837 100644 --- a/mobile-web/src/page/user/order/list.vue +++ b/mobile-web/src/page/user/order/list.vue @@ -34,8 +34,10 @@
@@ -46,7 +48,7 @@