document
API test

订单列表页

GET
/order/list?status=1&pageStart=0&pageSize=10

Request Header

parameter
type
description
required
token
string
每个请求都必须带有token
required

Request Parameters

parameter
type
description
required
status
int
订单状态,不传默认所有订单
optional
pageStart
int
页数,0开始,不传默认0
optional
pageSize
int
每页大小,不传默认10
optional

Description or Example

```json { "code": 200, "msg": "success", "data": { "orders": [ { "orderId": 1, "userId": 1, "instructorId": 1, "status": 1,// // 1(付款待审核),2(付款审核失败),3(已付款),11(退款待审核),12(退款审核失败),13(已退款),20(已完成待评论),21(已评论),30(订单关闭), "statusEnum": "PAID", "courseId": 1, "courseTitle": "瑜伽大师", "courseCover": "https://www.hsdgvviwvwv,jpg", "courseAddress": "香港", "coursePeriod": "一年(365天)", "courseCount": 2, "contactPersonName":"莫锦波", "contactPhoneNumber":"110", "contactEmail":"shit@gmail.com", "totalPrice":"9.99", "payRecordImage":"http://oss.com/123456", } ] } } ```