文档
测试

获取订单列表

POST
/api/order/restaurant_machine/list

请求头

参数名
类型
描述
必填
token
string
token
必填

请求参数

参数名
类型
描述
必填
shopId
long
门店id
必填
status
int
订单状态:1,待支付,2:支付成功,3已退款,4已超时
必填
startTime
string
筛选时间 (开始)
必填
endTime
string
筛选时间 (结束)
必填
page
int
当前页
必填
limit
int
每页数量
必填

响应参数

参数名
类型
描述
必填
id
long
id
必填
shopId
long
门店ID
必填
orderNo
string
订单号
必填
amount
double
支付金额
必填
status
int
订单状态 1,待支付,2:支付成功,3已退款,4已超时
必填
paymentMethod
int
支付方式1:支付宝,2:微信,3现金,4会员
必填
transaction_no
string
支付宝或微信的交易号
必填
remake
string
备注
必填
createdTime
string
创建时间
必填
updateTime
string
更新时间
必填

说明 / 示例

``` { "total": 89, "code": 0, "data": [ { "id": 161,//id "shopId": 1,//门店ID "orderNo": "20211208170213986079356767965184",//订单号 "amount": 441.0,//支付金额 "status": 1,//订单状态 1,待支付,2:支付成功,3已退款,4已超时 "paymentMethod": null, 支付方式1:支付宝,2:微信,3现金,4会员 "transaction_no": null,//支付宝或微信的交易号 "remake": "",//备注 "createdTime": "2021-12-08 17:02",//创建时间 "updateTime": "2021-12-08 17:02"//更新时间 }, { "id": 160, "shopId": 1, "orderNo": "20211208170044986078983382634496", "amount": 441.0, "status": 1, "paymentMethod": null, "transaction_no": null, "remake": "", "createdTime": "2021-12-08 17:00", "updateTime": "2021-12-08 17:00" }, { "id": 159, "shopId": 1, "orderNo": "20211208143659986042806587887616", "amount": 221.6, "status": 1, "paymentMethod": null, "transaction_no": null, "remake": "", "createdTime": "2021-12-08 14:37", "updateTime": "2021-12-08 14:37" }, { "id": 158, "shopId": 1, "orderNo": "20211208143608986042593408192512", "amount": 221.6, "status": 1, "paymentMethod": null, "transaction_no": null, "remake": "", "createdTime": "2021-12-08 14:36", "updateTime": "2021-12-08 14:36" }, { "id": 157, "shopId": 1, "orderNo": "20211208143540986042473514012672", "amount": 221.6, "status": 1, "paymentMethod": null, "transaction_no": null, "remake": "", "createdTime": "2021-12-08 14:35", "updateTime": "2021-12-08 14:35" }, { "id": 156, "shopId": 1, "orderNo": "20211201144005983506869358170112", "amount": 30.0, "status": 1, "paymentMethod": null, "transaction_no": null, "remake": "", "createdTime": "2021-12-01 14:40", "updateTime": "2021-12-01 14:40" }, { "id": 155, "shopId": 1, "orderNo": "20211201143954983506823459901440", "amount": 30.0, "status": 1, "paymentMethod": null, "transaction_no": null, "remake": "", "createdTime": "2021-12-01 14:39", "updateTime": "2021-12-01 14:39" }, { "id": 154, "shopId": 1, "orderNo": "20211201143922983506689833570304", "amount": 30.0, "status": 1, "paymentMethod": null, "transaction_no": null, "remake": "", "createdTime": "2021-12-01 14:39", "updateTime": "2021-12-01 14:39" }, { "id": 153, "shopId": 1, "orderNo": "20211201143901983506602399109120", "amount": 30.0, "status": 1, "paymentMethod": null, "transaction_no": null, "remake": "", "createdTime": "2021-12-01 14:39", "updateTime": "2021-12-01 14:39" }, { "id": 150, "shopId": 1, "orderNo": "20210727114616937439869074935808", "amount": 0.0, "status": 1, "paymentMethod": null, "transaction_no": null, "remake": "", "createdTime": "2021-07-27 11:46", "updateTime": "2021-07-27 11:46" } ], "message": "success" }