From f9eb05afdf18e8a61cf600d1df5b41fc15dba9c9 Mon Sep 17 00:00:00 2001 From: gaoxs Date: Thu, 16 Jul 2020 16:56:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9orderid=E4=B8=BAuni?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/order.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/order.js b/api/order.js index 18b9dbe..e7f2348 100644 --- a/api/order.js +++ b/api/order.js @@ -97,9 +97,9 @@ export function postOrderRefund(data) { * 确认收货 * @returns {*} */ -export function takeOrder(orderId) { +export function takeOrder(uni) { return request.post("/order/take", { - orderId + uni }); } @@ -107,9 +107,9 @@ export function takeOrder(orderId) { * 删除订单 * @returns {*} */ -export function delOrder(orderId) { +export function delOrder(uni) { return request.post("/order/del", { - orderId + uni }); } @@ -125,9 +125,9 @@ export function express(params) { * 订单查询物流信息 * @returns {*} */ -export function payOrder(orderId, paytype, from) { +export function payOrder(uni, paytype, from) { return request.post("order/pay", { - orderId, + uni, paytype, from });