获取题目详情
<h5>简要描述</h5>
<ul>
<li>获取题目详情</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{BASE_URL}}/api/job.paper/getInfo</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</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>0 不隐藏答案 1 隐藏答案</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"code": 20000,
"msg": "success",
"time": "2021-09-29 11:22:09",
"data": {
"jobPaperId": 67,
"platformId": 527,
"step": "xx", #webDataAnalysisSelection选品一 webDataAnalysisSelectionB 选品二
"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": [
{
"questionId": 79,
"question": "小花是开播一个月的带货主播,根据这个月的销售数据信息及图表,分别从女装,首饰,护肤品类型中找出符合带货的商品()",
"type": 2,
"score": "1.00",
"keywordScore": "0.00",
"subjectiveScore": "2.00",#题目的主观分
"jobQuestionId": 79,
"option": [ # 选项, 使用数组
"商品contestGoodsId",
"商品contestGoodsId"
],
"answer": "contestGoodsId,contestGoodsId", # 逗号分隔, 正确答案为数组索引
"paperQuestionId": 82,
"goodsId": "0",
"duration": 0,
"keywords": "",
"options": [],
"goodsArr":[xxx]
},
{
"questionId": 79,
"question": "根据以上学习内容,我们可以清晰管理并利用好我们所有的货品资源,做到资源最大化利用。直播内容将更加充实饱满,货品需求一目了然...",
"type": 2,
"score": "1.00",
"keywordScore": "0.00",
"subjectiveScore": "2.00",#题目的主观分
"jobQuestionId": 79,
"option": [],
"paperQuestionId": 82,
"goodsId": "0",
"duration": 0,
"answer": "3,2",
"keywords": "",
"options": []
}
}</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>