feat: 个人菜品喜好排行

This commit is contained in:
weiwei committed 2025-08-13 19:49:09 +08:00
1 parent c53b654b1d
commit 479d48f013
3 files changed
+103 -34

No files matched your search

+28 -28
View File
@@ -1,31 +1,31 @@
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,
}),
/**
* 个人菜品喜好排行
*/
productLikeTop: (data: any) =>
request({
url: `/hard/hard-canteen-total-log/app/product-like-top`,
method: "POST",
data,
}),
}
/**
* 菜品销量按照分类查询
*/
productByClassify: (data: any): any =>
request({
url: `/hard/hard-canteen-total-log/app/product-by-classify`,
method: "POST",
data,
}),
/**
* 近一周各个食堂菜品购买统计
*/
productByCanteen: (data: any): any =>
request({
url: `/hard/hard-canteen-total-log/app/product-by-canteen`,
method: "POST",
data,
}),
/**
* 个人菜品喜好排行
*/
productLikeTop: (data: any): any =>
request({
url: `/hard/hard-canteen-total-log/app/product-like-top`,
method: "POST",
data,
}),
}