优惠券中心列表接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>优惠券中心列表接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://api.magicalday.cn//me/couponCenter</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;:0,
&quot;msg&quot;:&quot;&quot;,
&quot;count&quot;:0,
&quot;data&quot;:{
&quot;number&quot;:1,
&quot;list&quot;:[
{
&quot;coupon_id&quot;:&quot;4&quot;,
&quot;type&quot;:&quot;品牌礼金&quot;,
&quot;title&quot;:&quot;疯狂星期六指定商品可用&quot;,
&quot;deadline&quot;:&quot;0&quot;,
&quot;effective_days&quot;:&quot;10&quot;,
&quot;discount&quot;:&quot;6折&quot;,
&quot;min_amount&quot;:&quot;10.00&quot;,
&quot;reduction_amount&quot;:&quot;99.90&quot;,
&quot;goods_list&quot;:[
{
&quot;goods_id&quot;:&quot;71&quot;,
&quot;img&quot;:&quot;https://img.meituan.net/groceryimages/2ebe24755f225167666a55c0a752c1bf90866.jpg&quot;,
&quot;selling_price&quot;:&quot;10.90&quot;,
&quot;jump_url&quot;:&quot;/pages-goods/detail/index?goods_id=71&amp;source=&quot;
},
{
&quot;goods_id&quot;:&quot;72&quot;,
&quot;img&quot;:&quot;https://img.meituan.net/750.750/groceryinfrastructureimages/7561db014f7ee9a23e18704ac8f4524c536118.png&quot;,
&quot;selling_price&quot;:&quot;19.39&quot;,
&quot;jump_url&quot;:&quot;/pages-goods/detail/index?goods_id=72&amp;source=&quot;
},
{
&quot;goods_id&quot;:&quot;73&quot;,
&quot;img&quot;:&quot;https://img.meituan.net/750.750/groceryinfrastructureimages/5e424661f9158c879aacb12efb2687cf290123.png&quot;,
&quot;selling_price&quot;:&quot;39.90&quot;,
&quot;jump_url&quot;:&quot;/pages-goods/detail/index?goods_id=73&amp;source=&quot;
}
],
&quot;end_time&quot;:&quot;2022/11/19 18:52:40&quot;
}
]
}
}</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;">uid</td>
<td style="text-align: left;">int</td>
<td>当前用户uid</td>
</tr>
<tr>
<td style="text-align: left;">list</td>
<td style="text-align: left;">array</td>
<td>推荐优惠券列表:type:类型、discount折扣、min_amount最小可用金额、reduction_amount抵扣金额、coupon_id优惠券id、goods_list:可用商品列表,商品列表有可能为空,则需要展示两种样式,有商品的样式和无商品的样式</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>