32 lines
644 B
TypeScript
32 lines
644 B
TypeScript
import request from "@/sheep/utils/request"
|
|
|
|
export default {
|
|
/**
|
|
* 菜品销量按照分类查询
|
|
*/
|
|
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,
|
|
}),
|
|
}
|