文档
测试

菜品销量

POST
/qgy/analysis/list

接口描述

查看当前用户下各种分类的菜品销量 可根据时间段(如果传了开始时间则必须传结束时间) 检索 允许为NULL参数都不传则返回当前用户下各种分类的菜品每天销量

请求参数

参数名
类型
描述
必填
userId
String
当前用户
必填
start
String
开始时间
可选
end
String
结束时间
可选
index
Integer
当前页码
可选
length
Integer
每页个数
可选

返回示例

``` { "result": 1, "msg": "successful operation!", "number": 10,//每页个数 "code": "QG_SUS1000", "data": [ { "dishe_guid": "3D23D0EB78E34FBF8F317C0CCF4EEB38",//菜品GUID "number": 152,//销量 "createTime": "2020-03-25", //销量时间段 "disheName": "笋干", //菜名 "disheUrl": "https://qgydishe.oss-cn-hangzhou.aliyuncs.com/dishes/7aa33450-c822-47b5-8fc5-db2c3a8e9996.png?x-oss-process=style/format_png",//菜照片 "typeName": "热菜"//菜类型 } ], "count": 16 //总条数 } ```