小猫阅读商品列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>小猫阅读商品列表接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/cli/organization/home</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": {
"organization": {
"id": 1,
"name": "小猫",
"code": "kitten",
"logo": "",
"subtitle": "小猫阅读",
"brief": "",
"style": "",
"created_at": null
},
"commodity_list": [
{
"id": 7,
"price": 100,
"stock": 0,
"event_start_at": "2018-06-27 12:22:00",
"event_end_at": "2018-06-30 12:22:00",
"created_at": "2018-06-27 12:28:26",
"event_price": 20,
"is_distribute": 1,
"distribute_bonus": 2,
"status": "publish",
"code": "dad66ea9c615a0d6",
"name": "课程A",
"pre_sale": 0,
"poster": null,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 0,
"platform": "weteach",
"courses": [
{
"id": 1,
"name": "TTTT",
"cover": "",
"brief": "this is a test",
"created_at": "2018-06-07 10:21:27",
"status": "publish",
"code": "031283499c1acd8b",
"total_lesson": 0,
"type": "video"
}
]
}
]
},
"message": "操作成功",
"ct": 1539158633
}</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;">organization['name']</td>
<td style="text-align: left;">string</td>
<td>品牌名称</td>
</tr>
<tr>
<td style="text-align: left;">organization['logo']</td>
<td style="text-align: left;">string</td>
<td>品牌头像</td>
</tr>
<tr>
<td style="text-align: left;">organization['subtitle']</td>
<td style="text-align: left;">string</td>
<td>品牌副标题</td>
</tr>
<tr>
<td style="text-align: left;">organization['brief']</td>
<td style="text-align: left;">string</td>
<td>品牌简介</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>