2024-01-06 13:44:25 +00:00
|
|
|
import request from '@/sheep/request';
|
|
|
|
|
|
|
|
const DeliveryApi = {
|
|
|
|
// 获得快递公司列表
|
|
|
|
getDeliveryExpressList: () => {
|
|
|
|
return request({
|
2024-01-20 05:13:28 +00:00
|
|
|
url: `/trade/delivery/express/list`,
|
2024-01-06 13:44:25 +00:00
|
|
|
method: 'get',
|
|
|
|
});
|
2024-08-05 10:00:11 +00:00
|
|
|
},
|
|
|
|
// 获得自提门店列表
|
|
|
|
getDeliveryPickUpStoreList: (params) => {
|
|
|
|
return request({
|
|
|
|
url: `/trade/delivery/pick-up-store/list`,
|
|
|
|
method: 'GET',
|
2024-08-06 10:11:49 +00:00
|
|
|
params,
|
2024-08-05 10:00:11 +00:00
|
|
|
});
|
2024-08-06 10:11:49 +00:00
|
|
|
},
|
|
|
|
// 获得自提门店
|
|
|
|
getDeliveryPickUpStore: (id) => {
|
|
|
|
return request({
|
|
|
|
url: `/trade/delivery/pick-up-store/get`,
|
|
|
|
method: 'GET',
|
|
|
|
params: {
|
|
|
|
id,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
},
|
2024-01-06 13:44:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default DeliveryApi;
|