Files
pj_h5_cloud/src/sheep/api/food.ts
T
2024-11-12 04:33:34 +08:00

50 lines
958 B
TypeScript

import request from "@/sheep/utils/request";
export default {
page: (params: any) =>
request({
url: `/food/api/selectTimeFood`,
method: "GET",
params,
custom: {
showLoading: false,
},
}),
classify: (params: any) =>
request({
url: `/onlinefood/category/listFood`,
method: "GET",
params,
custom: {
showLoading: false,
},
}),
product: (params: any) =>
request({
url: `/onlinefood/category/list`,
method: "GET",
params,
custom: {
showLoading: false,
},
}),
getShopCar: (params: any) =>
request({
url: `/hardware/car/get`,
method: "GET",
params,
custom: {
showLoading: false,
},
}),
updateShopCar: (data: any) =>
request({
url: `/hardware/car/save-or-upload`,
method: "POST",
data,
custom: {
showLoading: false,
},
}),
};