From 228935034d4053eec6463d4d9037fb054f2297e6 Mon Sep 17 00:00:00 2001 From: paulGao Date: Mon, 14 Feb 2022 14:21:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8Dapi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/public/config.js | 6 +++--- manager/public/config.js | 6 ++++-- seller/public/config.js | 6 ++++-- seller/src/api/goods.js | 2 +- seller/src/api/shops.js | 6 +++--- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/buyer/public/config.js b/buyer/public/config.js index 3058e142..555828da 100644 --- a/buyer/public/config.js +++ b/buyer/public/config.js @@ -3,10 +3,10 @@ var BASE = { * @description api请求基础路径 */ API_DEV: { - seller: "http://127.0.0.1:8888", - manager: "http://127.0.0.1:8888", + seller: "http://127.0.0.1:8889", + manager: "http://127.0.0.1:8887", buyer: "http://127.0.0.1:8888", - common: "http://127.0.0.1:8888", + common: "http://127.0.0.1:8890", }, API_PROD: { common: "https://common-api.pickmall.cn", diff --git a/manager/public/config.js b/manager/public/config.js index da98823b..048f3158 100644 --- a/manager/public/config.js +++ b/manager/public/config.js @@ -3,8 +3,10 @@ var BASE = { * @description api请求基础路径 */ API_DEV: { - common: "http://127.0.0.1:8888", - manager: "http://127.0.0.1:8888", + seller: "http://127.0.0.1:8889", + manager: "http://127.0.0.1:8887", + buyer: "http://127.0.0.1:8888", + common: "http://127.0.0.1:8890", }, API_PROD: { common: "https://common-api.pickmall.cn", diff --git a/seller/public/config.js b/seller/public/config.js index 09ba18de..a464cf6e 100644 --- a/seller/public/config.js +++ b/seller/public/config.js @@ -3,8 +3,10 @@ var BASE = { * @description api请求基础路径 */ API_DEV: { - common: "http://127.0.0.1:8888", - seller: "http://127.0.0.1:8888" + seller: "http://127.0.0.1:8889", + manager: "http://127.0.0.1:8887", + buyer: "http://127.0.0.1:8888", + common: "http://127.0.0.1:8890", }, API_PROD: { common: "https://common-api.pickmall.cn", diff --git a/seller/src/api/goods.js b/seller/src/api/goods.js index 0b61715c..a5486f7c 100644 --- a/seller/src/api/goods.js +++ b/seller/src/api/goods.js @@ -310,7 +310,7 @@ export const getGoodsSpecInfoSeller = (category_id) => { //批量设置运费模板 export const batchShipTemplate = params => { - return putRequest(`/goods/freight`, params); + return putRequest(`/goods/goods/freight`, params); }; diff --git a/seller/src/api/shops.js b/seller/src/api/shops.js index 19384148..32b7a8ec 100644 --- a/seller/src/api/shops.js +++ b/seller/src/api/shops.js @@ -14,7 +14,7 @@ export const getShopListData = (params) => { } // 获取结算单分页 export const getBillPage = (params) => { - return getRequest(`/member/bill/getByPage`, params) + return getRequest(`/order/bill/getByPage`, params) } // 获取商家结算单流水分页 @@ -24,7 +24,7 @@ export const getSellerFlow = (id, params) => { // 商家核对结算单 export const reconciliation = (id, params) => { - return putRequest(`/member/bill/check/${id}/`, params) + return putRequest(`/order/bill/check/${id}/`, params) } // 获取商家分销订单流水分页 @@ -34,7 +34,7 @@ export const getDistributionFlow = (id, params) => { // 获取商家结算单详细 export const getBillDetail = (id, params) => { - return getRequest(`/member/bill/get/${id}`, params) + return getRequest(`/order/bill/get/${id}`, params) } // 获取所有物流公司