feat:统计接口

This commit is contained in:
dzc committed 2025-08-13 11:44:35 +08:00
1 parent cc329e243d
commit 44f0c6d142
2 files changed
+24

No files matched your search

+2
View File
@@ -37,3 +37,5 @@ export { default as hardApi } from "./hard"
export { default as noticeApi } from "./notice"
export { default as invitationApi } from "./invitation"
export { default as totalApi } from "./total"
+22
View File
@@ -0,0 +1,22 @@
import request from "@/sheep/utils/request"
export default {
/**
* 菜品销量按照分类查询
*/
productByClassify: (data: any) =>
request({
url: `/hard/hard-canteen-total-log/app/product-by-classify`,
method: "POST",
data,
}),
/**
* 近一周各个食堂菜品购买统计
*/
productByCanteen: (data: any) =>
request({
url: `/hard/hard-canteen-total-log/app/product-by-canteen`,
method: "POST",
data,
}),
}