线上商城调接口

This commit is contained in:
weiwei committed 2025-06-27 18:34:03 +08:00
1 parent e7378a9abe
commit 1926afd276
5 files changed
+68 -32

No files matched your search

+2
View File
@@ -26,6 +26,8 @@ export { default as faceApi } from "./face"
export { default as shopApi } from "./shop"
export { default as onlineShopApi } from "./onlineShop"
export { default as flowStatisticsApi } from "./flowStatistics"
export { default as individualOrderApi } from "./individualOrder"
+20
View File
@@ -0,0 +1,20 @@
import request from "@/sheep/utils/request"
export default {
getSpuCategory: () =>
request({
url: "/supermarket/app/shopCategory/list",
method: "GET",
}),
getSpuList: (params: any) =>
request({
url: "/supermarket/app/shopSpu/page",
method: "GET",
params,
}),
getSpuDetail: (id: any) =>
request({
url: `/supermarket/app/shopSpu/detail/${id}`,
method: "GET",
}),
}