泛圈社群


抢红包

<p><strong>简要描述:</strong> </p> <ul> <li>社群抢红包</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/v1/goldcoin-redpackets/red-rob</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": "59", "user_id": 57, "user": { "id": "57", "nickname": "187****8944", "im_identifier": "c0f5a762ea53f113485ec96c2756e5c6", "avatar": "https://resource.greenzeus.cn/user/avatar/default.png" }, "total_amount": 10, "total_packet": 5, "type": 2, "genre": 2, "note": "dsasdasdadsadsasdaads", "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": "57", "nickname": "187****8944", "im_identifier": "c0f5a762ea53f113485ec96c2756e5c6", "avatar": "https://resource.greenzeus.cn/user/avatar/default.png" }, "amount": "0.68", "create_time": "2021-07-16 16:58:42" } ], "recordcount": "1", "group_id": 99, "group": { "id": "99", "groupname": "足球俱乐部", "compositeImage": null, "avatar": "user/avatar/271808lrsJImpq1dEMApntLTh6Lt5fUXNC05122020", "avatar_userid": "1", "group_category_id": "23", "cover": { "url": "https://resource.greenzeus.cn/group/cover/551913FuQUpMF8ArQ5gDk4qSqvUq-QfBTU24122020?imageMogr2/auto-orient&amp;w=1280&amp;h=720", "key": "group/cover/551913FuQUpMF8ArQ5gDk4qSqvUq-QfBTU24122020", "w": "1280", "h": "720", "id": "87", "is_top": 1, "collect_num": 0, "comment_num": 0, "like_total": 0, "is_fabulous": 0, "is_collected": 0, "address": { "id": 2, "city": "北京市" }, "owner": { "user_id": "1", "im_identifier": "cd709143422b8e35a9d5cdd0a6c606b7", "avatar": "https://resource.greenzeus.cn/user/avatar/511521Fqw218zi-i81yHSRcYbfslQTHiee03022021?imageMogr2/auto-orient", "nickname": "杨志高" }, "created_at": "2020-12-24 13:20:04" }, "video_url": "", "desc": "没关系,我喜欢你,我就多走向你一点", "notice": "", "membersonly": 0, "banned": 0, "AVChatRoom": "Cad9StuP6Jf__t9s1ooCob3JoYg--d", "followme": "1", "collect": "1", "isFollow": 0, "isCollect": 0, "isOwner": 0, "isManager": 0, "touristStatus": 0, "links": "", "citycode": "2", "group_type": 1, "created_at": "2020-12-24 13:20:04", "liveStatus": 0, "live_start": 0, "live_end": 0, "live_sort": 0, "roomid": "", "live_url": "", "user_id": "1", "user": null, "is_blacklist": null, "isMember": 0, "isTourist": 0, "login_userid": 0, "isFollowOwner": 0, "memberNum": 0, "touristrNum": 0, "memberList": [], "touristList": [], "juli": 0, "mediacover": { "w": 340, "h": 420, "url": "https://resource.greenzeus.cn//group/cover/551913FuQUpMF8ArQ5gDk4qSqvUq-QfBTU24122020?imageView2/1/w/340/h/420" } }, "couponids": "[\"347\",\"372\"]", "is_mock": 1, "deduction": "0.68", "receive": "0.74", "create_time": "2021-07-16 16:57:10" } }</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;">recordcount</td> <td style="text-align: left;">int</td> <td>领取数量</td> </tr> <tr> <td style="text-align: left;">group_id</td> <td style="text-align: left;">int</td> <td>社群ID</td> </tr> <tr> <td style="text-align: left;">group</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;">int</td> <td>领取状态:1为未领取完,2为已经领取</td> </tr> <tr> <td style="text-align: left;">deduction</td> <td style="text-align: left;">int</td> <td>已领取的奖金</td> </tr> <tr> <td style="text-align: left;">receive</td> <td style="text-align: left;">int</td> <td>当前用户领取的奖金</td> </tr> <tr> <td style="text-align: left;">create_time</td> <td style="text-align: left;">int</td> <td>发起时间</td> </tr> </tbody> </table>

页面列表

ITEM_HTML