获取优惠券列表
<h5>简要描述</h5>
<ul>
<li>获取优惠券列表</li>
<li>需登录</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>park/app/coupon/list</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<p><strong>返回参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>headImg</td>
<td>string</td>
<td>商家头像</td>
</tr>
<tr>
<td>shopName</td>
<td>string</td>
<td>商家名称</td>
</tr>
<tr>
<td>couponCode</td>
<td>string</td>
<td>优惠券code</td>
</tr>
<tr>
<td>couponName</td>
<td>string</td>
<td>优惠券名称</td>
</tr>
<tr>
<td>validStart</td>
<td>string</td>
<td>生效时间</td>
</tr>
<tr>
<td>validEnd</td>
<td>string</td>
<td>失效时间</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": "0000",
"msg": "操作成功!",
"data": [
{
"id":1,
"headImg":"907的商家头像",
"shopName":"907的商家名称",
"couponCode":"123456",
"couponName":"907的优惠券名称",
"validStart": "2020-08-20 00:00:00",
"validEnd": "2020-10-31 23:59:59"
}
]</code></pre>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>