专题收藏
<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/anthologyCollections</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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"resCode": 0,
"resMsg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 5,
"type_id": 3,
"name": "专题1",
"cover": "/storage/abc,jpg",
"content": "开口道军付扩扩扩扩",
"introduction": ";lakldkfkkjk肯德基发快递浪费;ad",
"size": 3,
"status": 1,
"sort": 99,
"original_wastage": 300,
"wastage": 200,
"admin_id": 1,
"author": "asd",
"progress": 0,
"created_at": "2021-01-13 09:44:00",
"updated_at": "2021-01-13 16:14:13",
"pivot": {
"user_id": 2,
"anthology_id": 5,
"created_at": null,
"updated_at": null
}
}
],
"first_page_url": "http://localhost:8093/api/users/anthologyCollections?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:8093/api/users/anthologyCollections?page=1",
"next_page_url": null,
"path": "http://localhost:8093/api/users/anthologyCollections",
"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>