修改物流请求
parent
3e3c101a1e
commit
ca8d518fae
|
@ -69,7 +69,7 @@ export function sureReceived (orderSn) {
|
||||||
export function getTraces (orderSn) {
|
export function getTraces (orderSn) {
|
||||||
return request({
|
return request({
|
||||||
url: `/buyer/orders/getTraces/${orderSn}`,
|
url: `/buyer/orders/getTraces/${orderSn}`,
|
||||||
method: Method.GET,
|
method: Method.POST,
|
||||||
needToken: true
|
needToken: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,7 +113,7 @@ export const afterSaleSellerDelivery = (sn, params) => {
|
||||||
};
|
};
|
||||||
//查询物流
|
//查询物流
|
||||||
export const getTraces = (sn, params) => {
|
export const getTraces = (sn, params) => {
|
||||||
return postRequest(`/orders/getTraces/${sn}`, params);
|
return getRequest(`/orders/getTraces/${sn}`, params);
|
||||||
};
|
};
|
||||||
//售后单查询物流
|
//售后单查询物流
|
||||||
export const getSellerDeliveryTraces = (sn, params) => {
|
export const getSellerDeliveryTraces = (sn, params) => {
|
||||||
|
|
|
@ -18,21 +18,16 @@ export default {
|
||||||
* @description api请求基础路径
|
* @description api请求基础路径
|
||||||
*/
|
*/
|
||||||
api_dev: {
|
api_dev: {
|
||||||
// common: 'https://common-api.pickmall.cn',
|
common: "https://common-api.pickmall.cn",
|
||||||
// buyer: 'https://buyer-api.pickmall.cn',
|
buyer: "https://buyer-api.pickmall.cn",
|
||||||
// seller: 'https://store-api.pickmall.cn',
|
seller: "https://store-api.pickmall.cn",
|
||||||
// manager: 'https://admin-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'
|
|
||||||
|
|
||||||
},
|
},
|
||||||
api_prod: {
|
api_prod: {
|
||||||
common: 'https://common-api.pickmall.cn',
|
common: "https://common-api.pickmall.cn",
|
||||||
buyer: 'https://buyer-api.pickmall.cn',
|
buyer: "https://buyer-api.pickmall.cn",
|
||||||
seller: 'https://store-api.pickmall.cn',
|
seller: "https://store-api.pickmall.cn",
|
||||||
manager: 'https://admin-api.pickmall.cn'
|
manager: "https://admin-api.pickmall.cn"
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* @description api请求基础路径前缀
|
* @description api请求基础路径前缀
|
||||||
|
|
Loading…
Reference in New Issue