获取题目详情
<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": "webLivePlanTs",
"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": "5", #主观题
"question": "目标",
"option": "",
"answer": "xxx", # 逗号分隔
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "" #备注
"tag": 1
},
{
"type": "5", #主观题
"question": "方案计划",
"option": "",
"answer": "xxx", # 逗号分隔
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "" #备注
"tag": 2
},
{
"type": "5", #主观题
"question": "选品策略",
"option": "",
"answer": "xxx", # 逗号分隔
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"goodsId":'100,101,102,103,104'(主观题给商品让他看的)
"extra": "" #备注
"tag": 3
},
{
"type": "1", #单选题
"question": "排品策略",
"option": "['100,101,102,103,104','102,100,101,103,104','104,103,101,100,102']",
"goodsId":'100,101,102,103,104'
"answer": "1", # 逗号分隔
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "" #备注
"tag": 4
},
{
"type": "5", #主观题
"question": "流量投放策略",
"option": "",
"answer": "xxx", # 逗号分隔
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "" #备注
"tag": 5
},
{
"type": "5", #主观题
"question": "直播脚本",
"option": "",
"answer": "", # 逗号分隔
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "[{'step':'开场预热','time':'2-3','content':'进入正式开播'}
{'step':'正式开播','time':'10','content':'正式开始,发福袋,建议1000/1人'}
{'step':'主播','time':'6','content':'讲产品,讲活动,主打1号款'}
{'step':'场控','time':'3','content':'放1号款库存,5%左右'}
{'step':'主播引导话术','time':'3','content':'没抢到的宝宝们xxx'}
{'step':'场控','time':'2-3','content':'放库存,20%左右'}
{'step':'主播','time':'5','content':'马上过2号款...'}
{'step':'场控','time':'5','content':'放2号款库存,5%左右'}
{'step':'场控','time':'2-3','content':'放2号款库存,20%左右'}
{'step':'主播','time':'2-3','content':'马上讲解3号正价款'}
{'step':'场控','time':'2-3','content':'把1号2号库存全部放出来'}
]" #直播脚本
"tag": 6
},
]
}</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>