我的收藏
<p><strong>简要描述:</strong> </p>
<ul>
<li>用户注册接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/cli/collection</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </li>
</ul>
<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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"result": "success",
"data": {
"current_page": 1,
"data": [
{
"id": 269,
"price": 0.05,
"stock": 9,
"event_start_at": null,
"event_end_at": null,
"code": "bc416551b7966df1",
"created_at": "2018-08-20 14:04:05",
"name": "服务号通知测试",
"event_price": 0,
"is_distribute": 0,
"distribute_bonus": 0,
"status": "publish",
"poster": "",
"pre_sale": 1,
"open_redeem_code": 0,
"cover": null,
"share_title": "分享标题${nickname},商品名称${commodity_name}",
"share_subtitle": "分享副标题${nickname},商品名称${commodity_name}",
"share_image": null,
"course": {
"id": 126,
"name": "服务号通知测试",
"cover": "http://weteach-stage.ufile.ucloud.com.cn/default-cover.png",
"brief": "<p><img src=\"http://weteach-stage.ufile.ucloud.com.cn/1529579646008.jpeg\"><br></p>",
"status": "publish",
"created_at": "2018-08-20 14:01:49",
"code": "8aa7c7309bdacc49",
"qr_path": null,
"total_lesson": 10,
"quiz_type": "正常模式",
"teachers": [
{
"id": 9,
"name": "默认名师",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1534495552089.png",
"brief": "有来学签约名师。上海外国语大学英语语言文学全奖硕士,上外高翻学院副院长、《霍比特人》译者吴刚最出色的弟子之一。前新东方浦东校区校长,教学十余年,擅长读写类教学,专注于\"英美文学\"学术研究,涉猎广泛,每年保持1500万字的阅读量,帮助了近百万学员实现英语高阶突破。"
}
],
"lesson_count": 10
},
"is_in_event": false,
"discount_price": null
}
],
"first_page_url": "http://localhost:82/api/cli/collection?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:82/api/cli/collection?page=1",
"next_page_url": null,
"path": "http://localhost:82/api/cli/collection",
"per_page": 20,
"prev_page_url": null,
"to": 1,
"total": 1
},
"message": "操作成功",
"ct": 1534760740
}</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>