获取视频详情
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取视频详情</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/api/course/getVideoInfo</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;">chapterId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>小节id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 20000,
"msg": "success",
"time": "2022-04-06 11:02:46",
"data": {
"info": {
"videoId": 12968,
"platformId": 527,
"cateId": 997,
"assetId": "xxx",
"url": "xxx",
"size": 0,
"transcodeAssetId": 0,
"transcodeUrlIndex": "xxx",
"transcodeSize": 0,
"name": "活页式实训手册 线上课程 上播实操 上 完成.mp4",
"thumb": "",
"duration": 0,
"height": 0,
"transcodeUrlJson": [
{
"quality": "FULL_HD",
"url": "xxx",
"duration": 1021,
"size": 363114496
},
{
"quality": "HD",
"url": "xxx",
"duration": 1021,
"size": 130296832
},
{
"quality": "SD",
"url": "xxxx",
"duration": 1021,
"size": 81708032
}
],
"liveRecordId": 0,
"hit": 0,
"status": 1,
"addTime": "2022-03-28 11:49:04",
"updateTime": "2022-03-28 11:52:40"
},
"record": []
}
}</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>