获取品牌课程
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取品牌课程</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/adm/organization/1/commoditys</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>GET </p>
<p><strong>返回示例</strong></p>
</li>
</ul>
<pre><code>{
"result": "success",
"data": [
{
"id": 434,
"price": 3,
"stock": null,
"event_start_at": null,
"event_end_at": null,
"code": "223d5ac2f36b5486",
"created_at": "2018-10-25 20:01:20",
"name": "【语文】苏教版听写 二年级(下册)",
"event_price": 0,
"is_distribute": 1,
"distribute_bonus": 100,
"status": "publish",
"poster": "",
"pre_sale": 1,
"open_redeem_code": 0,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 0,
"brief": null,
"type": "normal"
},
{
"id": 442,
"price": 80,
"stock": 22,
"event_start_at": "2018-10-17 00:00:00",
"event_end_at": "2018-11-17 00:00:00",
"code": "ed0dc05efd696bcc",
"created_at": "2018-10-26 15:30:21",
"name": "测试10月26日周五的团购",
"event_price": 30,
"is_distribute": 0,
"distribute_bonus": 0,
"status": "publish",
"poster": "",
"pre_sale": 0,
"open_redeem_code": 0,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 1,
"brief": null,
"type": "normal"
},
{
"id": 441,
"price": 90,
"stock": 555,
"event_start_at": "2018-10-26 00:00:00",
"event_end_at": "2018-11-15 00:00:00",
"code": "f2826bb7b2627d5f",
"created_at": "2018-10-26 15:27:26",
"name": "测试10月26日周五的预售",
"event_price": 40,
"is_distribute": 0,
"distribute_bonus": 0,
"status": "publish",
"poster": "",
"pre_sale": 1,
"open_redeem_code": 0,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 0,
"brief": null,
"type": "normal"
},
{
"id": 427,
"price": 6600,
"stock": null,
"event_start_at": "2018-10-22 00:00:00",
"event_end_at": "2018-10-31 00:00:00",
"code": "df8c01007cdd481e",
"created_at": "2018-10-22 17:04:11",
"name": "数学三级",
"event_price": 1,
"is_distribute": 1,
"distribute_bonus": 10,
"status": "publish",
"poster": "",
"pre_sale": 0,
"open_redeem_code": 0,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 0,
"brief": null,
"type": "normal"
},
{
"id": 425,
"price": 4900,
"stock": null,
"event_start_at": "2018-10-22 00:00:00",
"event_end_at": "2018-10-31 00:00:00",
"code": "674dc1d0a5c7d6e6",
"created_at": "2018-10-19 18:22:43",
"name": "绿野仙踪第一课",
"event_price": 3900,
"is_distribute": 1,
"distribute_bonus": 10,
"status": "publish",
"poster": "",
"pre_sale": 0,
"open_redeem_code": 0,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 0,
"brief": null,
"type": "normal"
},
{
"id": 445,
"price": 2500,
"stock": null,
"event_start_at": null,
"event_end_at": null,
"code": "8057731b5ff35bfc",
"created_at": "2018-10-26 16:19:49",
"name": "测试预售",
"event_price": 0,
"is_distribute": 0,
"distribute_bonus": 0,
"status": "publish",
"poster": "",
"pre_sale": 1,
"open_redeem_code": 0,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 0,
"brief": null,
"type": "normal"
},
{
"id": 438,
"price": 5,
"stock": null,
"event_start_at": null,
"event_end_at": null,
"code": "5faea4377a6dc063",
"created_at": "2018-10-26 14:23:17",
"name": "【语文】苏教版听写 三年级(下册)",
"event_price": 0,
"is_distribute": 0,
"distribute_bonus": 0,
"status": "publish",
"poster": "",
"pre_sale": 1,
"open_redeem_code": 0,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 0,
"brief": null,
"type": "normal"
},
{
"id": 429,
"price": 1,
"stock": null,
"event_start_at": null,
"event_end_at": null,
"code": "a4432996af987672",
"created_at": "2018-10-23 18:30:11",
"name": "唐诗篇",
"event_price": 0,
"is_distribute": 0,
"distribute_bonus": 0,
"status": "publish",
"poster": "",
"pre_sale": 0,
"open_redeem_code": 0,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 0,
"brief": null,
"type": "normal"
},
{
"id": 428,
"price": 0,
"stock": null,
"event_start_at": null,
"event_end_at": null,
"code": "db49be1d6c64fd0e",
"created_at": "2018-10-23 18:27:45",
"name": "部编版听写",
"event_price": 0,
"is_distribute": 0,
"distribute_bonus": 0,
"status": "publish",
"poster": "",
"pre_sale": 0,
"open_redeem_code": 0,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 0,
"brief": null,
"type": "normal"
},
{
"id": 450,
"price": 500,
"stock": null,
"event_start_at": null,
"event_end_at": null,
"code": "a85e16e258c6df38",
"created_at": "2018-10-31 18:51:19",
"name": "小猫阅读--测试商品001",
"event_price": 0,
"is_distribute": 0,
"distribute_bonus": 0,
"status": "publish",
"poster": "",
"pre_sale": 0,
"open_redeem_code": 0,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 0,
"brief": "<p><img src=\"http://weteach-stage.ufile.ucloud.com.cn/lesson/content/1540982889517.jpg\"><br></p>",
"type": "normal"
},
{
"id": 423,
"price": 5,
"stock": null,
"event_start_at": null,
"event_end_at": null,
"code": "a4234f0a6ba17a4a",
"created_at": "2018-10-19 16:06:26",
"name": "测试手机号绑定--预售",
"event_price": 0,
"is_distribute": 0,
"distribute_bonus": 0,
"status": "publish",
"poster": "",
"pre_sale": 1,
"open_redeem_code": 0,
"share_title": null,
"share_subtitle": null,
"share_image": null,
"is_groupon": 0,
"brief": null,
"type": "normal"
}
],
"message": "操作成功",
"ct": 1541748367
}</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>