短剧详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>短剧详情</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>{{url}}/api/playlet</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<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;">play_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>短剧ID</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;Success&quot;,
&quot;data&quot;: {
&quot;play_id&quot;: &quot;10000&quot;,
&quot;play_cover&quot;: &quot;https://imgcache.dealmoon.com/thumbimg.dealmoon.com/dealmoon/813/02e/4fc/bb1dcb4600a8bf067887391.jpg_1080_0_40_cec7.jpg&quot;,
&quot;play_number&quot;: 100,
&quot;play_name&quot;: &quot;脱缰英文&quot;,
&quot;play_content&quot;: &quot;脱缰英文&quot;,
&quot;episodes&quot;: [
{
&quot;play_id&quot;: 10000,
&quot;number&quot;: 1,
&quot;cover&quot;: &quot;https://imgcache.dealmoon.com/thumbimg.dealmoon.com/dealmoon/813/02e/4fc/bb1dcb4600a8bf067887391.jpg_1080_0_40_cec7.jpg&quot;,
&quot;url&quot;: &quot;https://minio.hwdj666.cyou/oss/test.mp4&quot;,
&quot;episodes_id&quot;: 1,
&quot;is_buy&quot;: 1,
&quot;is_lock&quot;: 0,
&quot;amount&quot;: 200,
&quot;is_user_likes&quot;: 1,
&quot;is_user_collect&quot;: 1,
&quot;is_user_recommend&quot;: 0
},
{
&quot;play_id&quot;: 10000,
&quot;number&quot;: 2,
&quot;cover&quot;: &quot;https://imgcache.dealmoon.com/thumbimg.dealmoon.com/dealmoon/813/02e/4fc/bb1dcb4600a8bf067887391.jpg_1080_0_40_cec7.jpg&quot;,
&quot;url&quot;: &quot;https://minio.hwdj666.cyou/oss/test.mp4&quot;,
&quot;episodes_id&quot;: 3,
&quot;is_buy&quot;: 1,
&quot;is_lock&quot;: 0,
&quot;amount&quot;: 200,
&quot;is_user_likes&quot;: 0,
&quot;is_user_collect&quot;: 1,
&quot;is_user_recommend&quot;: 1
},
{
&quot;play_id&quot;: 10000,
&quot;number&quot;: 3,
&quot;cover&quot;: &quot;https://imgcache.dealmoon.com/thumbimg.dealmoon.com/dealmoon/813/02e/4fc/bb1dcb4600a8bf067887391.jpg_1080_0_40_cec7.jpg&quot;,
&quot;url&quot;: &quot;https://minio.hwdj666.cyou/oss/test.mp4&quot;,
&quot;episodes_id&quot;: 4,
&quot;is_buy&quot;: 1,
&quot;is_lock&quot;: 0,
&quot;amount&quot;: 200,
&quot;is_user_likes&quot;: 0,
&quot;is_user_collect&quot;: 1,
&quot;is_user_recommend&quot;: 0
}
]
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<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;">data.current_page</td>
<td style="text-align: left;">id</td>
<td>当前页面</td>
</tr>
<tr>
<td style="text-align: left;">data.play_id</td>
<td style="text-align: left;">int</td>
<td>短剧ID</td>
</tr>
<tr>
<td style="text-align: left;">data.play_name</td>
<td style="text-align: left;">string</td>
<td>短剧名称</td>
</tr>
<tr>
<td style="text-align: left;">data.play_cover</td>
<td style="text-align: left;">string</td>
<td>短剧封面</td>
</tr>
<tr>
<td style="text-align: left;">data.play_number</td>
<td style="text-align: left;">string</td>
<td>短剧总集数</td>
</tr>
<tr>
<td style="text-align: left;">data.play_content</td>
<td style="text-align: left;">string</td>
<td>短剧简介</td>
</tr>
<tr>
<td style="text-align: left;">data.episodes</td>
<td style="text-align: left;">array</td>
<td>短剧播放链接</td>
</tr>
<tr>
<td style="text-align: left;">data.episodes.play_id</td>
<td style="text-align: left;">int</td>
<td>短剧ID</td>
</tr>
<tr>
<td style="text-align: left;">data.episodes.number</td>
<td style="text-align: left;">int</td>
<td>短剧集数</td>
</tr>
<tr>
<td style="text-align: left;">data.episodes.cover</td>
<td style="text-align: left;">string</td>
<td>短剧封面图</td>
</tr>
<tr>
<td style="text-align: left;">data.episodes.url</td>
<td style="text-align: left;">string</td>
<td>短剧播放链接</td>
</tr>
<tr>
<td style="text-align: left;">data.episodes.is_lock</td>
<td style="text-align: left;">int</td>
<td>0:锁,1:解锁</td>
</tr>
<tr>
<td style="text-align: left;">data.episodes.is_buy</td>
<td style="text-align: left;">int</td>
<td>0:未买,1:已购买</td>
</tr>
<tr>
<td style="text-align: left;">data.episodes.amount</td>
<td style="text-align: left;">int</td>
<td>解锁这一集所需要的金币</td>
</tr>
<tr>
<td style="text-align: left;">data.episodes.is_user_likes</td>
<td style="text-align: left;">int</td>
<td>0:未点赞,1:已点赞</td>
</tr>
<tr>
<td style="text-align: left;">data.episodes.is_user_collect</td>
<td style="text-align: left;">int</td>
<td>0:未收藏,1:已收藏</td>
</tr>
<tr>
<td style="text-align: left;">data.episodes.is_user_recommend</td>
<td style="text-align: left;">int</td>
<td>0:未推荐,1:已推荐</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>