Merge branch 'master' of https://codeup.aliyun.com/bsdtec/biz-mobile-react-cloud
This commit is contained in:
commit
bc43f88e52
8 files changed
+79
-43
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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",
|
||||
}),
|
||||
}
|
||||
Reference in new issue
Block a user