DYH云

DYH开放接口


获取试卷详情

<h5>简要描述</h5> <ul> <li>获取试卷详情</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{BASE_URL}}/api/job.paper/getLivePaperInfo?paperId=684&amp;hiddenAnswer=0</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET</li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">paperId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>试卷 id</td> </tr> <tr> <td style="text-align: left;">hiddenAnswer</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>隐藏答案</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 20000, "msg": "success", "time": "2022-01-05 09:33:03", "data": { "jobPaperId": 684, "platformId": 527, "step": "test", "video": "", "name": "测试直播", "background": "背景资料", "score": "50.00", "belongs": 1, "type": 0, "extra": [], "status": 1, "addTime": "2021-12-30 16:18:07", "updateTime": "2021-12-30 16:18:08", "knowledge": "", "questionList": [ { "questionId": 4486, "question": "测试", # 弹窗的内容 "type": 51, "score": "0.00", "keywordScore": "10.00", "subjectiveScore": "0.00", "jobQuestionId": 4486, "option": "[]", "paperQuestionId": 4851, "goodsId": "0", "duration": 30, "part": 0, "tag": "1", "desc": "", "answer": "", "keywords": "我的,测试", "pointKeywords": "", "questionPid": 0, "tagText": "默认", "tagLang": "默认" # 弹窗标题 }, { "questionId": 4487, "question": "测试", "type": 56, "score": "0.00", "keywordScore": "20.00", "subjectiveScore": "0.00", "jobQuestionId": 4487, "option": "[]", "paperQuestionId": 4854, "goodsId": "0", "duration": 60, "part": 0, "tag": "1", "desc": "", "answer": "", "keywords": "我的,测试", "pointKeywords": "", "questionPid": 0, "tagText": "默认", "child": [ { "questionId": 4488, "question": "测试", "type": 51, "score": "0.00", "keywordScore": "10.00", "subjectiveScore": "0.00", "jobQuestionId": 4488, "paperQuestionId": 4852, "duration": 30, "tag": "1", "desc": "", "questionPid": 4487, "tagText": "默认", "tagLang": "默认" }, { "questionId": 4489, "question": "测试", "type": 51, "score": "0.00", "keywordScore": "10.00", "subjectiveScore": "0.00", "jobQuestionId": 4489, "paperQuestionId": 4853, "duration": 30, "tag": "2", "desc": "", "questionPid": 4487, "tagText": "底妆类", "tagLang": "默认" } ], "tagLang": "默认" }, { "questionId": 4490, "question": "表情识别", "type": 55, "score": "0.00", "keywordScore": "10.00", "subjectiveScore": "0.00", "jobQuestionId": 4490, "option": "[]", "paperQuestionId": 4855, "goodsId": "0", "duration": 30, "part": 0, "tag": "1", "desc": "", "answer": "", "keywords": "我的,测试", "pointKeywords": "", "questionPid": 0, "tagText": "默认", "tagLang": "默认" }, { "questionId": 4491, "question": "图片识别", "type": 53, "score": "0.00", "keywordScore": "10.00", "subjectiveScore": "0.00", "jobQuestionId": 4491, "option": "[]", "paperQuestionId": 4856, "goodsId": "0", "duration": 30, "part": 0, "tag": "1", "desc": "", "answer": "", "keywords": "", "pointKeywords": "", "questionPid": 0, "tagText": "默认", "tagLang": "默认" } ] } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML