文档
测试

订单列表

POST
/qgy/orders/list

接口描述

可根据 订单号 || 人员识别guid || 订单状态 ||几个合并 查看当前用户下的订单 允许NULL参数不传则返回当前用户下所有的订单信息

请求参数

参数名
类型
描述
必填
userId
String
当前用户ID
必填
index
Integer
当前页码
可选
length
Integer
每页个数
可选
orderId
String
订单号
可选
guid
String
人员识别guid
可选
state
Integer
订单状态 指定值 0:未付 1:已付 2:取消订单
可选

返回示例

``` { "result": 1, "msg": "successful operation!", "number": 10, "code": "QG_SUS1000", "data": [ { "orderId": "12345", "dishesImg": null, "guid": "1212", "money": 1000.0, "state": 0, "personnlName": "sss", "photoUrl": "http://192.168.0.131:9898/qgy/discern/461a7a80-06f2-42da-ae6f-42ab0e027af8.png",//人员现场照 "userId": "87CB81614CC34C6395DD3E6E01268FEF", "createTime": "2019-10-10 00:00:00", "dishes": [ { "guid": "22222", "price": 10.0, "disheName": "黄瓜", "disheGuid": "222", "disheUrl": "http://pro-h.qigurl.com/qgy/image/58b2a7f0-f3a3-43d3-96ed-1f89eaaec5f4.png",//菜现场图片 "score": 0.9, "orderId": "12345", "createTime": "2019-10-10 00:00:00" } ], "disheImgs": [ { "id": 1, "dishesImg": "http://192.168.0.131:9898/qgy/vegetable/a6716847-2125-4df9-b94a-5666a1395cf9.png",//订单现场照 "orderId": "12345", "name": "222" } ] } ], "count": 1 } ```