From c6417cf197908ecc125de59c013661f422e4cce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Mon, 12 Jul 2021 18:18:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=AE=B6?= =?UTF-8?q?=E7=AB=AF=E7=89=A9=E6=B5=81=E8=BF=99=E5=9D=97=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/api/order.js | 2 +- manager/src/api/member.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buyer/src/api/order.js b/buyer/src/api/order.js index 579c76d1..9ed11392 100644 --- a/buyer/src/api/order.js +++ b/buyer/src/api/order.js @@ -69,7 +69,7 @@ export function sureReceived (orderSn) { export function getTraces (orderSn) { return request({ url: `/buyer/orders/getTraces/${orderSn}`, - method: Method.POST, + method: Method.GET, needToken: true }); } diff --git a/manager/src/api/member.js b/manager/src/api/member.js index fbce5ce1..48850755 100644 --- a/manager/src/api/member.js +++ b/manager/src/api/member.js @@ -98,7 +98,7 @@ export const getMemberStatistics = params => { }; -// 获取会员注册统计列表 +// 获取流量统计 export const getStatisticsList = params => { return getRequest("/statistics/view/list", params); }; From ca8d518faedd638717cc415a09bccc8a90ac7983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Mon, 12 Jul 2021 18:37:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E6=B5=81?= =?UTF-8?q?=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/api/order.js | 2 +- seller/src/api/order.js | 2 +- seller/src/config/index.js | 21 ++++++++------------- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/buyer/src/api/order.js b/buyer/src/api/order.js index 9ed11392..579c76d1 100644 --- a/buyer/src/api/order.js +++ b/buyer/src/api/order.js @@ -69,7 +69,7 @@ export function sureReceived (orderSn) { export function getTraces (orderSn) { return request({ url: `/buyer/orders/getTraces/${orderSn}`, - method: Method.GET, + method: Method.POST, needToken: true }); } diff --git a/seller/src/api/order.js b/seller/src/api/order.js index 60872d72..9f6cd7bf 100644 --- a/seller/src/api/order.js +++ b/seller/src/api/order.js @@ -113,7 +113,7 @@ export const afterSaleSellerDelivery = (sn, params) => { }; //查询物流 export const getTraces = (sn, params) => { - return postRequest(`/orders/getTraces/${sn}`, params); + return getRequest(`/orders/getTraces/${sn}`, params); }; //售后单查询物流 export const getSellerDeliveryTraces = (sn, params) => { diff --git a/seller/src/config/index.js b/seller/src/config/index.js index 9e225895..23b29b76 100644 --- a/seller/src/config/index.js +++ b/seller/src/config/index.js @@ -18,21 +18,16 @@ export default { * @description api请求基础路径 */ api_dev: { - // common: 'https://common-api.pickmall.cn', - // buyer: 'https://buyer-api.pickmall.cn', - // seller: 'https://store-api.pickmall.cn', - // manager: 'https://admin-api.pickmall.cn', - common: 'http://192.168.0.103:8890', - buyer: 'http://192.168.0.103:8888', - seller: 'http://192.168.0.103:8889', - manager: 'http://192.168.0.103:8887' - + common: "https://common-api.pickmall.cn", + buyer: "https://buyer-api.pickmall.cn", + seller: "https://store-api.pickmall.cn", + manager: "https://admin-api.pickmall.cn" }, api_prod: { - common: 'https://common-api.pickmall.cn', - buyer: 'https://buyer-api.pickmall.cn', - seller: 'https://store-api.pickmall.cn', - manager: 'https://admin-api.pickmall.cn' + common: "https://common-api.pickmall.cn", + buyer: "https://buyer-api.pickmall.cn", + seller: "https://store-api.pickmall.cn", + manager: "https://admin-api.pickmall.cn" }, /** * @description api请求基础路径前缀