Files
pj_h5_cloud/src/sheep/api/total.ts
T
2025-08-13 18:51:10 +08:00

31 lines
781 B
TypeScript

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,
}),
}