acdr-ui/dist/dev/mp-weixin/modules/mall/sheep/api/trade/delivery.js

31 lines
798 B
JavaScript
Raw Normal View History

2024-09-19 07:20:14 +08:00
"use strict";
2024-10-01 09:15:35 +08:00
const modules_mall_sheep_request_index = require("../../request/index.js");
2024-09-19 07:20:14 +08:00
const DeliveryApi = {
// 获得快递公司列表
getDeliveryExpressList: () => {
2024-10-01 09:15:35 +08:00
return modules_mall_sheep_request_index.request({
2024-09-19 07:20:14 +08:00
url: `/trade/delivery/express/list`,
method: "get"
});
},
// 获得自提门店列表
getDeliveryPickUpStoreList: (params) => {
2024-10-01 09:15:35 +08:00
return modules_mall_sheep_request_index.request({
2024-09-19 07:20:14 +08:00
url: `/trade/delivery/pick-up-store/list`,
method: "GET",
params
});
},
// 获得自提门店
getDeliveryPickUpStore: (id) => {
2024-10-01 09:15:35 +08:00
return modules_mall_sheep_request_index.request({
2024-09-19 07:20:14 +08:00
url: `/trade/delivery/pick-up-store/get`,
method: "GET",
params: {
id
}
});
}
};
exports.DeliveryApi = DeliveryApi;