文档
测试

22.获取仿真试题列表-fangzhenlist

POST
http://php.etest8.com/api/paper/fangzhenlist

接口描述

25.获取仿真试题列表-fangzhenlist

请求头

参数名
类型
描述
必填
Content-Type
string
application/x-www-form-urlencoded
必填
sessionHeaderKey
string
小程序使用,识别用户身份
必填

请求参数

参数名
类型
描述
必填

成功返回

参数名
类型
描述
必填
code
number
错误码,0正确,100~200为用户操作错误,其他则为服务器错误
必填
data
object
题目内容
必填
id
number
题目id
必填
question
string
题目问题(富文本)
必填
chosen
dictionary
题目选项
必填
letter
string
选项值
必填
content
string
选项内容(富文本)
必填
type
number
题目类型(单选/多选/判断)
必填
answer
string
题目答案
必填
explain
string
题目解析
必填
list
array
全套试题内容,仅在paper_id不为空时生效,用于生成题卡
必填
id
string
题目id
必填
type
number
题目类型(单选/多选/判断)
必填
answer
string
题目答案
必填
paper
object
试题信息
必填
id
number
试题id
必填
title
string
试题名称
必填
time
number
考试时间(单位:秒)
必填

失败返回

参数名
类型
描述
必填
code
number
错误码,0正确,100~200为用户操作错误,其他则为服务器错误
必填
message
string
错误原因
必填