节日礼获取
<h5>简要描述</h5>
<ul>
<li>节日礼获取</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>getFestival</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">userId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户名</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"data": {
"rows": [
{
"id": "72",
"dict_type": "festival",
"dict_use": "原石",
"dict_name": "stone",
"dict_value": "十块优惠券",
"create_time": "1636971735",
"type": "coupon",
"action_id": "889"
},
{
"id": "73",
"dict_type": "festival",
"dict_use": "黑铁",
"dict_name": "iron",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
},
{
"id": "74",
"dict_type": "festival",
"dict_use": "黄铜",
"dict_name": "brass",
"dict_value": "十块优惠券",
"create_time": "1636971881",
"type": "coupon",
"action_id": "889"
},
{
"id": "75",
"dict_type": "festival",
"dict_use": "青铜",
"dict_name": "bronze",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
},
{
"id": "62",
"dict_type": "festival",
"dict_use": "白银",
"dict_name": "silver",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
},
{
"id": "63",
"dict_type": "festival",
"dict_use": "黄金",
"dict_name": "gold",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
},
{
"id": "64",
"dict_type": "festival",
"dict_use": "铂金",
"dict_name": "platinum",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
},
{
"id": "65",
"dict_type": "festival",
"dict_use": "钻石",
"dict_name": "diamond",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
},
{
"id": "66",
"dict_type": "festival",
"dict_use": "星钻",
"dict_name": "StarDiamond",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
},
{
"id": "67",
"dict_type": "festival",
"dict_use": "星耀",
"dict_name": "staryao",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
},
{
"id": "68",
"dict_type": "festival",
"dict_use": "大师",
"dict_name": "BigMaster",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
},
{
"id": "69",
"dict_type": "festival",
"dict_use": "宗师",
"dict_name": "ZongMaster",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
},
{
"id": "70",
"dict_type": "festival",
"dict_use": "王者",
"dict_name": "king",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
},
{
"id": "71",
"dict_type": "festival",
"dict_use": "至尊",
"dict_name": "extreme",
"dict_value": "十块优惠券",
"create_time": null,
"type": "coupon",
"action_id": "889"
}
]
},
"code": 15,
"message": "请求成功"
}</code></pre>