Skip to content
关注公众号,获取新课通知

查看网校用户订单列表


接口URL

http://demonuxtapi.dishait.cn/admin/s/order?page=1&user_id=3

请求方式

GET

Content-Type

application/x-www-form-urlencoded

请求Header参数

参数名示例值参数类型是否必填参数描述
tokeneyj...NjString用户token
schoolid11Integer网校id

请求Query参数

参数名示例值参数类型是否必填参数描述
page1Integer页码
user_id3Integer用户id

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"total": 2,
		"items": [
			{
				"id": 2,
				"school_id": 11,
				"user_id": 3,
				"no": "20191211194940843468",
				"status": "pendding",
				"price": "10.00",
				"total_price": "20.00",
				"type": "default",
				"pay_method": null,
				"pay_time": null,
				"created_time": "2021-02-27T16:00:00.000Z",
				"updated_time": "2021-02-27T16:00:00.000Z",
				"goods": [
					{
						"title": "第一个专栏3"
					},
					// ...
				],
				"title": "[专栏]第一个专栏3"
			},
			// ...
		]
	},
	"code": 20000
}