简要描述
请求URL
{{BASE_URL}}/api/job.paper/getInfo
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
paperId |
是 |
int |
考卷id |
hiddenAnswer |
是 |
int |
0 不隐藏答案 1 隐藏答案 |
返回示例
{
"code": 20000,
"msg": "success",
"time": "2021-09-29 11:22:09",
"data": {
"jobPaperId": 67,
"platformId": 527,
"step": "webLiveExistingProblems",
"video": "",
"name": "11111111",
"background": "11111111",
"score": "32.00",
"belongs": 1,
"extra": {xxx},
"status": 1,
"addTime": "2021-09-29 11:22:07",
"updateTime": "2021-09-29 11:22:07",
"questionList":[ # 问题列表
{
"type": "20", #对一个得一个平均分
"question": "问题具体说明",
"option": '',
"answer": "4,8", # 逗号分隔 不用存单位 单位写在备注上
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "problem" #备注为 具体说明题目
"tag": 1 #转化问题
},
{
"type": "20", #对一个得一个平均分
"question": "解决方案",
"option": '',
"answer": "4,8", # 逗号分隔 不用存单位 单位写在备注上
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "solution" #备注为 解决方案
"tag": 1 #转化问题
},
{
"type": "20", #对一个得一个平均分
"question": "问题具体说明",
"option": '',
"answer": "4,8", # 逗号分隔 不用存单位 单位写在备注上
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "problem" #备注为 具体说明题目
"tag": 2 #留存问题
},
...
]
}
返回参数说明
参数名 |
类型 |
说明 |
groupid |
int |
用户组id,1:超级管理员;2:普通用户 |
备注