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

考试列表


接口URL

http://demonuxtapi.dishait.cn/admin/s/user_test?page=1&answer_status=1&read_status=0

请求方式

GET

Content-Type

application/x-www-form-urlencoded

请求Header参数

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

请求Query参数

参数名示例值参数类型是否必填参数描述
page1Integer页码
answer_status1Integer回答状态:0否1是
read_status0Integer阅卷状态:0否1是

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"total": 2,
		"items": [
			{
				"id": 2,
				"answer_status": 1,
				"read_status": 1,
				"score": 50,
				"created_time": "2021-03-04T10:25:05.000Z",
				"testpaper": {
					"id": 1,
					"title": "第一张试卷"
				},
				"user": {
					"id": 3,
					"username": "ceshi2",
					"nickname": ""
				}
			},
			// ...
		]
	},
	"code": 20000
}