限时抢
<p><strong>简要描述:</strong> </p>
<ul>
<li>限时抢抢券接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li>coupon/timeLimitCoupon</li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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>
<tr>
<td style="text-align: left;">couponId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>优惠券ID</td>
</tr>
<tr>
<td style="text-align: left;">packageId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>优惠券礼包ID</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>
{
&quot;result&quot;: &quot;success&quot;,
&quot;msg&quot;: &quot;success&quot;,
&quot;data&quot;: &quot;&quot;
}
**返回参数说明**
|参数名|类型|说明|
返回值result = &quot;success&quot;; msg=&quot;success&quot;,data=&quot;&quot; 表示抢券成功
返回值result = &quot;limitOver&quot;; msg=&quot;该优惠券已抢完&quot;,data=&quot;&quot; 优惠券抢完
返回值rresult = &quot;error&quot;;msg = &quot;您还未登录,请您先登录!&quot;,data=&quot;&quot;;
**备注**
- 更多返回错误代码请看首页的错误代码描述</code></pre>