领取红包
<p>[TOC]</p>
<h4>领取红包</h4>
<h5>请求URL</h5>
<ul>
<li><code>v1/Red/receive</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>请求Header参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数位置</th>
<th>类型</th>
<th>是否必选</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>header</td>
<td>string</td>
<td>否</td>
<td>-</td>
</tr>
</tbody>
</table>
<h5>请求Body参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数位置</th>
<th>类型</th>
<th>是否必选</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>body</td>
<td>int</td>
<td>是</td>
<td>红包ID</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code class="language-json">{
&quot;success&quot;: true,
&quot;code&quot;: 200,
&quot;data&quot;: [
{
&quot;uid&quot;: 10,
&quot;rid&quot;: &quot;2&quot;,
&quot;type&quot;: 2,
&quot;money&quot;: &quot;20.00&quot;,
&quot;start_at&quot;: &quot;2023-07-01&quot;,
&quot;end_at&quot;: &quot;2023-07-30&quot;,
&quot;regtime&quot;: 1688436214,
&quot;updatetime&quot;: 1688436214,
&quot;id&quot;: &quot;7&quot;
}
]
}</code></pre>