APP

API接口文档


优惠券-下订单查询可用优惠券列表

<p><strong>简要描述:</strong> </p> <ul> <li>优惠券-下订单查询可用优惠券列表</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://47.93.115.228:9002/coupon/use</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>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">CATEGORY</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>1:通用,2:微课</td> </tr> <tr> <td style="text-align: left;">LOGINTOKEN</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>LOGINTOKEN</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;MSG&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;STATE&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;OBJECT&amp;quot;: [ { &amp;quot;ORDERNUM&amp;quot;: null, &amp;quot;COUPONID&amp;quot;: 8, &amp;quot;EFFECTIVEENDDATE&amp;quot;: &amp;quot;2018-08-09 00:00:00&amp;quot;, //优惠券有效期结束时间 &amp;quot;CATEGORY&amp;quot;: 1, //优惠券类型 1:通用,2:微课 &amp;quot;USERID&amp;quot;: 466, &amp;quot;EFFECTIVESTARTDATE&amp;quot;: &amp;quot;2018-07-10 00:00:00&amp;quot;, //优惠券有效期开始时间 &amp;quot;STATE&amp;quot;: 1, //优惠券状态 &amp;quot;CONSUMEDATE&amp;quot;: null, &amp;quot;COUPONNAME&amp;quot;: &amp;quot;注册赠送&amp;quot;, &amp;quot;ID&amp;quot;: 6, //用户优惠券ID 下单的时候传这个参数 &amp;quot;RECEIVEDATE&amp;quot;: &amp;quot;2018-07-10 11:06:47&amp;quot;, //领取优惠券日期 &amp;quot;DISCOUNT&amp;quot;: 9 //折扣值 表示9折 } ] }</code></pre>

页面列表

ITEM_HTML