365钱包

365钱包项目


06-领取优惠券

<p><strong>简要描述:</strong> </p> <ul> <li>获取优惠券信息</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>${访问地址}/api/discount/getVoucher</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>Get &amp; 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;">token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户登陆凭据</td> </tr> <tr> <td style="text-align: left;">voucherId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>优惠券id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "msg": "领取优惠券成功", "code": 200, "data": null }</code></pre> <p><strong>返回参数说明</strong> </p> <p>参数的更详细说明,请参见 <code>数据返回格式说明</code></p>

页面列表

ITEM_HTML