Weteach-小程序


优惠券人员

<p><strong>简要描述:</strong> </p> <ul> <li>优惠券人员</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/adm/coupon/{id}/users'</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;">id</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> { &amp;quot;result&amp;quot;: &amp;quot;success&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;current_page&amp;quot;: 1, &amp;quot;data&amp;quot;: [ { &amp;quot;id&amp;quot;: 1, &amp;quot;user_id&amp;quot;: 64, &amp;quot;coupon_id&amp;quot;: 2, &amp;quot;expire_at&amp;quot;: &amp;quot;2018-07-16 14:19:32&amp;quot;, &amp;quot;price&amp;quot;: 30, &amp;quot;status&amp;quot;: &amp;quot;ready&amp;quot;, &amp;quot;bill_id&amp;quot;: null, &amp;quot;commodity_id&amp;quot;: 3, &amp;quot;used_at&amp;quot;: null, &amp;quot;created_at&amp;quot;: &amp;quot;2018-07-11 14:20:04&amp;quot;, &amp;quot;nickname&amp;quot;: &amp;quot;ó&amp;quot; } ], &amp;quot;first_page_url&amp;quot;: &amp;quot;http://localhost:82/api/adm/coupon/2/users?page=1&amp;quot;, &amp;quot;from&amp;quot;: 1, &amp;quot;last_page&amp;quot;: 1, &amp;quot;last_page_url&amp;quot;: &amp;quot;http://localhost:82/api/adm/coupon/2/users?page=1&amp;quot;, &amp;quot;next_page_url&amp;quot;: null, &amp;quot;path&amp;quot;: &amp;quot;http://localhost:82/api/adm/coupon/2/users&amp;quot;, &amp;quot;per_page&amp;quot;: 20, &amp;quot;prev_page_url&amp;quot;: null, &amp;quot;to&amp;quot;: 1, &amp;quot;total&amp;quot;: 1 }, &amp;quot;message&amp;quot;: &amp;quot;操作成功&amp;quot; }</code></pre> <p><strong>返回参数说明</strong> </p> <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;">status</td> <td style="text-align: left;">状态</td> <td>ready/used</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML