获取题目详情
<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": "webGraphicPromotion",
"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": "1", #单选
"question": "撰写合适的标题",
"option": '["薇娅,宠粉就差你","双十一惊喜来袭!薇娅潮电节,非你莫属"]',
"answer": "2", # 逗号分隔
"tag": "", # 标签
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "xxx" #备注
"part":1 #
},
{
"type": "5", #关键词匹配
"question": "时间",
"option": '',
"answer": "双十一/11月11日,8点/八点", # 逗号分隔
"tag": "", # 标签
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "xxx" #备注
"part":2 #
},
{
"type": "5", #关键词匹配
"question": "地点",
"option": '',
"answer": "直播间", # 逗号分隔
"tag": "", # 标签
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "xxx" #备注
"part":2 #
},
...
{
"type": "1", #单选题
"question": "选择视频",
"option": '["视频链接1","视频链接2","视频链接3"]',
"answer": "1", # 逗号分隔
"tag": "", # 标签
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "xxx" #备注
"part":3 #
},
{
"type": "1", #单选题
"question": "选择最合适的短视频发布平台",
"option": '["抖音","淘宝","快手","B站"]',
"answer": "2", # 逗号分隔
"tag": "", # 标签
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "xxx" #备注
"part":4 #
},
{
"type": "1", #单选题
"question": "选择图片",
"option": '["图片链接1","图片链接2","图片链接3"]',
"answer": "1", # 逗号分隔
"tag": "", # 标签
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "xxx" #备注
"part":5 #
},
{
"type": "2", #多选题
"question": "选择适合的图文发布平台",
"option": '["小红书","微博","微信朋友圈","淘宝站内"]',
"answer": "1,2,3,4", # 逗号分隔
"tag": "", # 标签
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"extra": "xxx" #备注
"part":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>