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

题目列表


接口URL

http://demonuxtapi.dishait.cn/admin/s/question?page=1&type=radio

请求方式

GET

Content-Type

application/x-www-form-urlencoded

请求Header参数

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

请求Query参数

参数名示例值参数类型是否必填参数描述
page1Integer页码
typeradioString题目类型:radio单选,checkbox多选,trueOrfalse判断,answer问答,completion填空
title多选String关键词

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"total": 5,
		"items": [
			{
				"id": 17,
				"school_id": 11,
				"title": "你的名字叫什么",
				"remark": "问题解析",
				"type": "radio",
				"value": {
					"options": [
						"张三",
						"李四",
						"王五",
						"王五哈"
					],
					"value": 0
				},
				"created_time": "2021-03-19T10:19:12.000Z",
				"updated_time": "2021-03-19T10:19:12.000Z"
			},
			// ...
		]
	},
	"code": 20000
}