获取淘宝优惠券信息--杨奕滨
<p><strong>简要描述:</strong> </p>
<ul>
<li>淘宝二级页及淘宝产品详情页猜你喜欢列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://gytest.gaoyong666.com/gylm/taobao/v1/taobaocoupon</code> 测试</li>
<li><code>http://dk.gaoyong666.com/gylm/taobao/v1/taobaocoupon</code> 正式</li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </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 style="text-align: left;">说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">goodId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">产品id</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">quan1</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">优惠券activeid</td>
<td>无</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 200,
"data": {
"coupon_activity_id": "cb916bc03cb64d219860e2f56bc8c7c4", //coupon_activity_id
"coupon_amount": "10.0", //coupon_amount
"coupon_end_time": "2019-04-11", //优惠券结束时间
"coupon_remain_count": 78000, //优惠券剩余量
"coupon_src_scene": 4, //券类型,1 表示全网公开券,4 表示妈妈渠道券
"coupon_start_fee": "29.0", //优惠券门槛金额
"coupon_start_time": "2019-04-09", //优惠券开始时间
"coupon_total_count": 100000, //优惠券总量
"coupon_type": 1 //券属性,0表示店铺券,1表示单品券
},
"message": "SUCCESS",
"minId": 0,
"time": 1554799103
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>