适配api

master
paulGao 2022-02-14 14:21:37 +08:00
parent acff55dc65
commit 228935034d
5 changed files with 15 additions and 11 deletions

View File

@ -3,10 +3,10 @@ var BASE = {
* @description api请求基础路径 * @description api请求基础路径
*/ */
API_DEV: { API_DEV: {
seller: "http://127.0.0.1:8888", seller: "http://127.0.0.1:8889",
manager: "http://127.0.0.1:8888", manager: "http://127.0.0.1:8887",
buyer: "http://127.0.0.1:8888", buyer: "http://127.0.0.1:8888",
common: "http://127.0.0.1:8888", common: "http://127.0.0.1:8890",
}, },
API_PROD: { API_PROD: {
common: "https://common-api.pickmall.cn", common: "https://common-api.pickmall.cn",

View File

@ -3,8 +3,10 @@ var BASE = {
* @description api请求基础路径 * @description api请求基础路径
*/ */
API_DEV: { API_DEV: {
common: "http://127.0.0.1:8888", seller: "http://127.0.0.1:8889",
manager: "http://127.0.0.1:8888", manager: "http://127.0.0.1:8887",
buyer: "http://127.0.0.1:8888",
common: "http://127.0.0.1:8890",
}, },
API_PROD: { API_PROD: {
common: "https://common-api.pickmall.cn", common: "https://common-api.pickmall.cn",

View File

@ -3,8 +3,10 @@ var BASE = {
* @description api请求基础路径 * @description api请求基础路径
*/ */
API_DEV: { API_DEV: {
common: "http://127.0.0.1:8888", seller: "http://127.0.0.1:8889",
seller: "http://127.0.0.1:8888" manager: "http://127.0.0.1:8887",
buyer: "http://127.0.0.1:8888",
common: "http://127.0.0.1:8890",
}, },
API_PROD: { API_PROD: {
common: "https://common-api.pickmall.cn", common: "https://common-api.pickmall.cn",

View File

@ -310,7 +310,7 @@ export const getGoodsSpecInfoSeller = (category_id) => {
//批量设置运费模板 //批量设置运费模板
export const batchShipTemplate = params => { export const batchShipTemplate = params => {
return putRequest(`/goods/freight`, params); return putRequest(`/goods/goods/freight`, params);
}; };

View File

@ -14,7 +14,7 @@ export const getShopListData = (params) => {
} }
// 获取结算单分页 // 获取结算单分页
export const getBillPage = (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) => { 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) => { export const getBillDetail = (id, params) => {
return getRequest(`/member/bill/get/${id}`, params) return getRequest(`/order/bill/get/${id}`, params)
} }
// 获取所有物流公司 // 获取所有物流公司