This commit is contained in:
dzc committed 2024-11-12 04:33:34 +08:00
1 parent 7d450caf77
commit 983674cfc9
29 files changed
+913 -49

No files matched your search

+47 -1
View File
@@ -1,3 +1,49 @@
import request from "@/sheep/utils/request";
export default {};
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,
},
}),
};
+11 -1
View File
@@ -1,10 +1,20 @@
import request from "@/sheep/utils/request";
export default {
merchantList: () =>
page: (params: any) =>
request({
url: "/merchant/manage/page-join",
method: "GET",
params,
custom: {
showLoading: false,
},
}),
detail: (params: any) =>
request({
url: "/merchant/manage/get",
method: "GET",
params,
custom: {
showLoading: false,
},
+29 -1
View File
@@ -1,3 +1,31 @@
import request from "@/sheep/utils/request";
export default {};
export default {
page: (params: any) =>
request({
url: `/hardware/order/page-join`,
method: "GET",
params,
custom: {
showLoading: false,
},
}),
detail: (params: any) =>
request({
url: `/hardware/order/get-join`,
method: "GET",
params,
custom: {
showLoading: false,
},
}),
shopCarList: (params: any) =>
request({
url: `/hardware/car/get-by-order-id`,
method: "GET",
params,
custom: {
showLoading: false,
},
}),
};
+9 -1
View File
@@ -1,3 +1,11 @@
import request from "@/sheep/utils/request";
export default {};
export default {
get: (params) => {
return request({
url: "/product/spu/get-detail",
method: "GET",
params,
});
},
};