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

查看试卷详情


接口URL

http://demonuxtapi.dishait.cn/admin/s/testpaper/read?id=1

请求方式

GET

Content-Type

application/x-www-form-urlencoded

请求Header参数

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

请求Query参数

参数名示例值参数类型是否必填参数描述
id1Integer试卷id

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"id": 1,
		"title": "第一张试卷",
		"total_score": 100,
		"pass_score": 60,
		"expire": 60,
		"status": 1,
		"questions": [
			{
				"score": 50,
				"question": {
					"id": 1,
					"title": "<p>第一道填空题</p>",
					"remark": "",
					"type": "completion",
					"value": {
						"options": [
							"填空1",
							"填空2"
						]
					}
				}
			},
			// ...
		]
	},
	"code": 20000
}