泛圈社群


领取红包

<p><strong>简要描述:</strong> </p> <ul> <li>领取红包</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/v1/goldcoin-redpackets/collection</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>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;">red_packet_id</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>{ "success": true, "statusCode": 200, "message": "OK", "data": { "id": "41", "user_id": 57, "user": { "id": "57", "nickname": "187****8944", "im_identifier": "c0f5a762ea53f113485ec96c2756e5c6", "avatar": "https://resource.greenzeus.cn/user/avatar/default.png" }, "total_amount": 100, "total_packet": 1, "type": 1, "genre": 2, "note":'', "covers": [ { "video_url": "https://resource.greenzeus.cn/moment/160009FnGsEFXwxU-gcWom3rwAKAVsZtKk11032021", "video_url_thumb": "https://resource.greenzeus.cn/moment/160009FnGsEFXwxU-gcWom3rwAKAVsZtKk11032021?vframe/jpg/offset/1/w/544/h/960&amp;w=544&amp;h=960", "video_url_thumb_w": "544", "video_url_thumb_h": "960" } ], "record": [ { "user": { "id": "2", "nickname": "182****6456", "im_identifier": "a9e9a2c7eaf76332fd0804721911be90", "avatar": "https://resource.greenzeus.cn/user/avatar/202921Fg_P3anSJxMFOXp8WCcSsb_R9TUp07112020" }, "amount": 100, "create_time": "2021-07-14 18:03:10" } ], "couponids": "[\"326\",\"328\",\"329\",\"337\",\"338\",\"343\",\"344\",\"346\",\"348\"]", "is_mock": 2, "deduction": 100, "receive":100, "create_time": "2021-07-14 18:00:39" } }</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;">id</td> <td style="text-align: left;">int</td> <td>申请ID</td> </tr> <tr> <td style="text-align: left;">user</td> <td style="text-align: left;">int</td> <td>发包人信息</td> </tr> <tr> <td style="text-align: left;">total_amount</td> <td style="text-align: left;">int</td> <td>发送金额</td> </tr> <tr> <td style="text-align: left;">total_packet</td> <td style="text-align: left;">int</td> <td>发送个数 一对一为1个</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">int</td> <td>发起类型 1为一对一 2为抢红包</td> </tr> <tr> <td style="text-align: left;">note</td> <td style="text-align: left;">string</td> <td>红包备注</td> </tr> <tr> <td style="text-align: left;">genre</td> <td style="text-align: left;">int</td> <td>广告类型 1为图片 2为视频 视频只能上转一条数据</td> </tr> <tr> <td style="text-align: left;">covers</td> <td style="text-align: left;">array</td> <td>广告信息</td> </tr> <tr> <td style="text-align: left;">record</td> <td style="text-align: left;">array</td> <td>领取红包信息</td> </tr> <tr> <td style="text-align: left;">is_mock</td> <td style="text-align: left;">array</td> <td>领取状态:1为未领取完,2为已经领取</td> </tr> <tr> <td style="text-align: left;">deduction</td> <td style="text-align: left;">array</td> <td>已领取的奖金</td> </tr> <tr> <td style="text-align: left;">receive</td> <td style="text-align: left;">array</td> <td>当前用户领取的奖金</td> </tr> <tr> <td style="text-align: left;">create_time</td> <td style="text-align: left;">string</td> <td>发起时间</td> </tr> </tbody> </table>

页面列表

ITEM_HTML