文档
测试

试卷试题信息

GET
course/pactice_list/:id

接口描述

id test_id 测试记录的ID 从上个接口中或得到

请求头

参数名
类型
描述
必填
Authori-zation
string
令牌 任何请求都加令牌,为了防止为空可以使用 Bearer 字符 返回参数状态码有三种 200(正确) 400(错误) 41000(未登录)
必填

响应参数

参数名
类型
描述
必填
status
int
返回状态码含有 200-正确码 400-错误码 41000-未登录码
必填
msg
string
返回信息,错误或者正确都在内
必填
data
array
返回的数据集合,正确数据请查看说明中的事例 item 代表是循环的数组,array 就是正常的数据
必填

说明 / 示例

{ "status": 200, "msg": "ok", "data": { "item": { "id": 1, "item_name": "古诗词测试联系书卷1", "course_id": 20, "class_id": 1, "item_type": 1, "item_level": 2, "total": "100.00", "franction": "{\"from\":\"class\",\"danxuan\":10,\"danxuan_fen\":5,\"duoxuan\":5,\"duoxuan_fen\":10}", "sort": 0, "status": 1, "own_pactice": 1, "pass_fen": "60.00" }, "test": { "id": 3, "item_id": 1, "uid": 1, "course_id": 20, "class_id": 1, "item_type": 1, "defen": "0.00", "status": 0, "continue_pactice_id": 0 }, "pactice_list": [ { "id": 1, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 1, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 2, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 1, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 3, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 1, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 4, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 1, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 5, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 1, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 6, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 1, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 7, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 1, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 8, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 1, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 9, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 1, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 10, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 1, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 11, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 2, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 12, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 2, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 13, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 2, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 14, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 2, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 15, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 2, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 16, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 2, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 17, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 2, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 18, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 2, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 19, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 2, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } }, { "id": 20, "course_id": 20, "class_id": 1, "class_item_id": 1, "type": 2, "question": "锄禾日当午,汗滴禾下土。 谁知盘中餐,粒粒皆辛苦。 这首诗的作者是谁?", "answer_all": { "A": "李白", "B": "杜甫", "C": "李商隐", "D": "李绅" } } ] } }