From 209725a25bb53a6d72d6dcfb1a7133cd8ba79b51 Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Fri, 12 Apr 2019 23:00:12 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E6=B7=BB=E5=8A=A0=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=20-=20=E6=B7=BB=E5=8A=A0=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E7=89=A9=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile-web/src/api/order.js | 20 ++++-- mobile-web/src/page/user/order/list.vue | 19 ++++-- mobile-web/src/page/user/order/logistics.vue | 67 +++++++++++--------- 3 files changed, 67 insertions(+), 39 deletions(-) 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 @@