相关推荐
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>相关推荐接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>course/recommend</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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>课程id</td>
</tr>
<tr>
<td style="text-align: left;">now_works_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>点击换一批时参数为上一次推荐的全部课程id;格式:1,2,3</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;ok!&quot;,
&quot;data&quot;: [
{
&quot;id&quot;: 75,
&quot;user_id&quot;: 1,
&quot;title&quot;: &quot;微同课录播课&quot;,
&quot;type&quot;: 2,
&quot;thumb_image&quot;: &quot;https://test-1304049341.cos.ap-nanjing.myqcloud.com/1710212249thumb.png&quot;,
&quot;apply_info&quot;: &quot;4人感兴趣&quot;
},
{
&quot;id&quot;: 78,
&quot;user_id&quot;: 3,
&quot;title&quot;: &quot;微同课系列课&quot;,
&quot;type&quot;: 3,
&quot;thumb_image&quot;: &quot;https://test-1304049341.cos.ap-nanjing.myqcloud.com/1710207964thumb.png&quot;,
&quot;apply_info&quot;: &quot;2人感兴趣&quot;
},
{
&quot;id&quot;: 79,
&quot;user_id&quot;: 3,
&quot;title&quot;: &quot;微同课组合课&quot;,
&quot;type&quot;: 4,
&quot;thumb_image&quot;: &quot;https://test-1304049341.cos.ap-nanjing.myqcloud.com/1710207964thumb.png&quot;,
&quot;apply_info&quot;: &quot;1人感兴趣&quot;
},
{
&quot;id&quot;: 77,
&quot;user_id&quot;: 1,
&quot;title&quot;: &quot;微同课AI直播课&quot;,
&quot;type&quot;: 1,
&quot;thumb_image&quot;: &quot;https://test-1304049341.cos.ap-nanjing.myqcloud.com/1710212249thumb.png&quot;,
&quot;apply_info&quot;: &quot;0人感兴趣&quot;
}
]
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>