团购服务-团购规则列表
<h5>简要描述</h5>
<ul>
<li>团购服务-团购规则列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://101.34.87.143:8083/wx/groupon/list?page=1&limit=10</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<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;">limit</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>每页多少数据</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"errno": 0,
"data": {
"total": 3,
"pages": 1,
"limit": 10,
"page": 1,
"list": [{
"id": 1181000,
"name": "母亲节礼物-舒适安睡组合",
"brief": "安心舒适是最好的礼物",
"picUrl": "http://yanxuan.nosdn.127.net/1f67b1970ee20fd572b7202da0ff705d.png",
"counterPrice": 2618.00,
"retailPrice": 2598.00,
"grouponPrice": 2593.00,
"grouponDiscount": 5,
"grouponMember": 5
}, {
"id": 1109008,
"name": "云端沙发组合",
"brief": "MUJI供应商携手打造",
"picUrl": "http://yanxuan.nosdn.127.net/c5be2604c0e4186a4e7079feeb742cee.png",
"counterPrice": 4019.00,
"retailPrice": 3999.00,
"grouponPrice": 3949.00,
"grouponDiscount": 50,
"grouponMember": 5
}, {
"id": 1039051,
"name": "多功能午睡枕",
"brief": "放松自在的午后时光",
"picUrl": "http://yanxuan.nosdn.127.net/c8ca0600fa7ba11ca8be6a3173dd38c9.png",
"counterPrice": 99.00,
"retailPrice": 79.00,
"grouponPrice": 59.00,
"grouponDiscount": 20,
"grouponMember": 20
}]
},
"errmsg": "成功"
}</code></pre>
<h5>返回参数说明</h5>
<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>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>