视频课程收藏
<p>欢迎使用ShowDoc!欢迎使用ShowDoc!欢迎使用ShowDoc!</p>
<p><strong>简要描述:</strong> </p>
<ul>
<li>列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>192.168.0.226:8093/api/users/courseCollections</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>资源类型:</strong>
QueryString</p>
<p><strong>参数:</strong> </p>
<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;">page</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">keyword</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>关键字</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"resCode": 0,
"resMsg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"category_id": 3,
"name": "名师师范课1",
"cover": "abc.jpg",
"content": "反馈卡扩扩所扩扩扩扩扩扩扩所多发多付",
"size": 2,
"status": 1,
"sort": 99,
"admin_id": 1,
"author": "是",
"progress": 0,
"created_at": "2021-02-23 14:45:41",
"pivot": {
"user_id": 2,
"course_id": 1,
"created_at": null,
"updated_at": null
}
}
],
"first_page_url": "http://localhost:8093/api/users/courseCollections?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:8093/api/users/courseCollections?page=1",
"next_page_url": null,
"path": "http://localhost:8093/api/users/courseCollections",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}</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;">id</td>
<td style="text-align: left;">int</td>
<td>id</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">String</td>
<td>名称</td>
</tr>
<tr>
<td style="text-align: left;">pivot.created_at</td>
<td style="text-align: left;">String</td>
<td>收藏时间</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!欢迎使用ShowDoc!欢迎使用ShowDoc!</p>