You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
648 B
32 lines
648 B
3 months ago
|
import request from '@/sheep/request';
|
||
|
|
||
|
const DeliveryApi = {
|
||
|
// 获得快递公司列表
|
||
|
getDeliveryExpressList: () => {
|
||
|
return request({
|
||
|
url: `/trade/delivery/express/list`,
|
||
|
method: 'get',
|
||
|
});
|
||
|
},
|
||
|
// 获得自提门店列表
|
||
|
getDeliveryPickUpStoreList: (params) => {
|
||
|
return request({
|
||
|
url: `/trade/delivery/pick-up-store/list`,
|
||
|
method: 'GET',
|
||
|
params,
|
||
|
});
|
||
|
},
|
||
|
// 获得自提门店
|
||
|
getDeliveryPickUpStore: (id) => {
|
||
|
return request({
|
||
|
url: `/trade/delivery/pick-up-store/get`,
|
||
|
method: 'GET',
|
||
|
params: {
|
||
|
id,
|
||
|
},
|
||
|
});
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default DeliveryApi;
|