添加试卷
<h5>简要描述</h5>
<ul>
<li>添加试卷</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{BASE_URL}}/api/job.paper/addVideoLiveShare</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<pre><code>{
"video": "https://409-cn-north-4.cdn-vod.huaweicloud.com/asset/d6771c8c1f65e9a1ae320d35f96a5d01/8e3766f5b773a22fd55fe983293b0e2f.m3u8", # 视频链接
"name": "小林测试试卷", # 卷子
"step": "WebShortVideoPublishShare", # 固定值
"score": 6, # 总分, 计算后给我, 关键字分数也要加
"extra": 题干, # 固定值
"questionList": [ # 客观题列表
###### # {
//只传值,不需要展示详细页面
"type": "1",
"question": "标题",
"option": [],
"answer": "", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"part":1 #步骤 第几题,
}
{
//只传值,不需要展示详细页面
"type": "1",
"question": "短视频文案",
"option": [],
"answer": "", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"part":2 #步骤 第几题,
}
{
"type": "1",
"question": "账号名字",
"option": [],
"answer": "", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"part":3 #步骤 第几题,
}
{
"type": "1",
"question": "个人描述",
"option": [],
"answer": "", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"part":4 #步骤 第几题,
}
{
"type": "1",
"question": "主页头图",
"option": [ #
"图片1链接",
"图片2链接",
"图片3链接",
"图片4链接"
],
"answer": "0,1", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"part":5 #步骤 第几题,
}
{
"type": "1",
"question": "主播头像",
"option": [ #
"图片1链接",
"图片2链接",
"图片3链接",
"图片4链接"
],
"answer": "0,1", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"part":6 #步骤 第几题,
}
{
"type": "1",
"question": "作品",
"option": [ #
"视频1链接",
"视频2链接",
"视频3链接",
"视频4链接"
],
"answer": "", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 0 # 单题分数,
"part":7 #步骤 第几题,
}
{
"type": "1",
"question": "年龄",
"option": [],
"answer": "", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 0 # 单题分数,
"part":8 #步骤 第几题,
}
{
"type": "1",
"question": "省份",
"option": [],
"answer": "", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 0 # 单题分数,
"part":9 #步骤 第几题,
}
{
"type": "1",
"question": "市",
"option": [],
"answer": "", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 0 # 单题分数,
"part":10 #步骤 第几题,
}
{
"type": "1",
"question": "发布视频",
"option": ["视频链接"],
"answer": "0",
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 0 # 单题分数,
"part":11 #步骤 第几题,
}
{
"type": "1",
"question": "视频封面图",
"option": [ #
"图片1链接",
"图片2链接",
"图片3链接",
"图片4链接"
],
"answer": "0", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"part":12 #步骤 第几题,
}
{
"type": "1",
"question": "添加话题",
"option": [ #
"婴幼儿",
"玩具",
"生活用品",
"母婴好物"
],
"answer": "0,1,2,3", # 逗号分隔
"tag": "1", # 固定值
"belongs": 1, # 固定值
"score": 2 # 单题分数,
"part":13 #步骤 第几题,
}
],
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
"code": 20000,
"msg": "success",
"time": "2021-09-14 10:04:50",
"data": []
}</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>