红包卡券页面
<p><strong>简要描述:</strong> </p>
<ul>
<li>我的红包列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/v1/user/envelope_list</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;">type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>1未使用2已使用3已过期</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>页数</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>
{
"code": 0,
"msg": "获取成功",
"time": 1588749486,
"data": {
"not_use": 2,//未使用红包数
"used": 0,//已使用红包数
"expired": 2,//过期数
"data": {
"total": 78,
"per_page": 20,
"current_page": 1,
"last_page": 4,
"data": [
{
"envelope_id": 24,
"coupon_name": "签到红包包",
"user_id": 322222,
"condition_num": "20.00",//满多少可用
"is_used": 0,//0未使用 1已使用
"reduce_num": "3.00",//减少金额
"type": 0,//0通用不限制 1关联商品分类 2关联交易类型
"use_start_time": 1583769600,
"use_end_time": 1590681600,
"use_type": 1,
"expire_time": 0,//过期时间
"user_type_limit": 0, 1仅新用户可领取使用
"relations": [
{
"relation_id": 3,
"relation_name": "租号"
},
{
"relation_id": 4,
"relation_name": "装备交易"
}
]
},</code></pre>