文档
测试

订单列表

POST
http://localhost/app/order/orderList

接口描述

查看订单列表

请求头

参数名
类型
描述
必填
openid
string
示例:openID
必填
code
string
示例:识别码
必填

请求参数

参数名
类型
描述
必填
page
页面编号
必填
page_size
页面大小
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
data
object
数据字典
必填
total
int
统计订单数量示例:65
必填
list
array
数据列表
必填
id
int
订单id 示例:65
必填
status
int
订单状态 1:租借中、2、租借完成、3:撤销
必填
start_time
string
订单开始时间 示例:2020年12月03日 09:36:14
必填
end_time
string
订单结束时间 示例:
必填
amount
string
金额 示例:
必填
type
int
租借类型 2为密码线 示例:2
必填
is_pay
boolean
是否支付 示例:true
必填
expire_time
int
到期时间 示例:1607002574
必填
order_no
string
订单号 示例:202012030936142833
必填
use_time
string
使用时间 示例:1小时0分0秒
必填
pay_status
int
订单状态(1租借中,2已完成,3撤销,4超时)
必填
msg
string
示例:订单列表
必填

说明 / 示例

{ "code": 1, "data": { "total": 83, "list": [{ "id": 83, "status": 1, "start_time": "2020年12月14日 10:06:53", "end_time": "", "amount": "", "type": 2, "is_pay": true, "expire_time": 1607915213, "order_no": "202012141006536577", "use_time": "0分8秒", "pay_status": 1 } { "id": 74, "status": 2, "start_time": "2020年12月08日 11:34:56", "end_time": "2020年12月08日 12:34:56", "amount": "10.00", "type": 2, "is_pay": true, "expire_time": 1607402096, "order_no": "202012081134565772", "use_time": "1小时0分0秒", "pay_status": 1 }] }, "msg": "订单列表" }