泛圈社群


广告列表接口

<p><strong>请求URL:</strong> </p> <ul> <li><code>https://api.fanquan.greenzeus.cn/v1/ad/list-v2?type=2&amp;perIndex=1&amp;pageSize=10</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET </li> </ul> <p><strong>返回示例</strong></p> <pre><code>{ "success": true, "statusCode": 200, "message": "OK", "data": { "items": [ { "title": "搜索广告4", "id": "16", "user": { "id": 1, "nickname": "舞动奇迹", "im_identifier": "cd709143422b8e35a9d5cdd0a6c606b7", "avatar": "http://resource.greenzeus.cn/user/avatar/332223Fty5BBst6d60aA8-5HhctpzPDweO12122021?imageMogr2/auto-orient" }, "cover_type": "2", "cover_id": "10036", "cover": { "w": "1082", "url": "http://resource.greenzeus.cn/group/cover/96d1f548ed6a0e9bf6d9d646144a1baf?vframe/jpg/offset/1/w/1082/h/609&amp;w=1082&amp;h=609", "h": "609", "video": "http://resource.greenzeus.cn/group/cover/96d1f548ed6a0e9bf6d9d646144a1baf", "video_duration": "106.671000" }, "valid_time": 0, "url_type": "3", "external_url": "", "goods_id": "10", "group_id": "10", "collect_num": 0, "comment_num": "1", "like_total": "1", "group": { "id": 10, "AVChatRoom": "S-nJIXWQqKcWxyF_e96h92oTJxxsf1" }, "goods": { "id": 10, "name": "宁夏·平罗天然蜂蜜枸杞蜜 500g/瓶 送木勺枸杞精华", "cover_picture": "https://img.funengscm.com/5d80bf966a7c3b9eef808814939b18dc" }, "is_collect": 0, "is_fabulous": 0, "login_userid": 1, "isFollowOwner": 0 }, { "title": "搜索12", "id": "62", "user": { "id": 1, "nickname": "舞动奇迹", "im_identifier": "cd709143422b8e35a9d5cdd0a6c606b7", "avatar": "http://resource.greenzeus.cn/user/avatar/332223Fty5BBst6d60aA8-5HhctpzPDweO12122021?imageMogr2/auto-orient" }, "cover_type": "2", "cover_id": "10075", "cover": { "w": "576", "url": "http://resource.greenzeus.cn/ad_cover/ad_cover_20221031222200_1241?vframe/jpg/offset/1/w/576/h/1024&amp;w=576&amp;h=1024", "h": "1024", "video": "http://resource.greenzeus.cn/ad_cover/ad_cover_20221031222200_1241", "video_duration": "45.975000" }, "valid_time": 0, "url_type": null, "external_url": "http://11.com2", "goods_id": "1", "group_id": "1", "collect_num": 0, "comment_num": 0, "like_total": 0, "group": { "id": 1, "AVChatRoom": "rDs-uEDApkZwMNJhq7GIWKNzKLZeMd" }, "goods": { "id": 1, "name": "正宗纯手工河南红薯粉条5斤红薯粉丝", "cover_picture": "https://img.funengscm.com/8cea38f74aea8b20fd1b43f7ca3fec99" }, "is_collect": 0, "is_fabulous": 0, "login_userid": 1, "isFollowOwner": 0 } ], "_links": { "self": { "href": "https://api.fanquan.greenzeus.cn/v1/ad/list-v2?type=2&amp;perIndex=1&amp;pageSize=10%3F&amp;page=1&amp;per-page=10" } }, "_meta": { "totalCount": 2, "pageCount": 1, "currentPage": 1, "perPage": 10 } }, "msg": "" }</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;">title</td> <td style="text-align: left;">string</td> <td>标题</td> </tr> <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;">array</td> <td>发布者信息</td> </tr> <tr> <td style="text-align: left;">cover_type</td> <td style="text-align: left;">int</td> <td>广告类型 1图片 2视频</td> </tr> <tr> <td style="text-align: left;">cover_id</td> <td style="text-align: left;">int</td> <td>广告详情ID</td> </tr> <tr> <td style="text-align: left;">cover</td> <td style="text-align: left;">int</td> <td>封面图片</td> </tr> <tr> <td style="text-align: left;">url_type</td> <td style="text-align: left;">int</td> <td>链接类型1外部链接 2商品链接 3社群链接</td> </tr> <tr> <td style="text-align: left;">external_url</td> <td style="text-align: left;">string</td> <td>广告外链</td> </tr> <tr> <td style="text-align: left;">goods_id</td> <td style="text-align: left;">array</td> <td>商品ID</td> </tr> <tr> <td style="text-align: left;">group_id</td> <td style="text-align: left;">array</td> <td>社群ID</td> </tr> <tr> <td style="text-align: left;">collect_num</td> <td style="text-align: left;">int</td> <td>收藏数量</td> </tr> <tr> <td style="text-align: left;">comment_num</td> <td style="text-align: left;">int</td> <td>评论数量</td> </tr> <tr> <td style="text-align: left;">like_total</td> <td style="text-align: left;">int</td> <td>点赞数量</td> </tr> <tr> <td style="text-align: left;">group</td> <td style="text-align: left;">int</td> <td>广告关联社区信息</td> </tr> <tr> <td style="text-align: left;">goods</td> <td style="text-align: left;">int</td> <td>广告商品信息,空为没有</td> </tr> <tr> <td style="text-align: left;">is_collect</td> <td style="text-align: left;">int</td> <td>是否收藏 0为不是 1为是</td> </tr> <tr> <td style="text-align: left;">is_fabulous</td> <td style="text-align: left;">int</td> <td>是否点赞 0为不是 1为是</td> </tr> <tr> <td style="text-align: left;">login_userid</td> <td style="text-align: left;">int</td> <td>发布者ID</td> </tr> <tr> <td style="text-align: left;">isFollowOwner</td> <td style="text-align: left;">int</td> <td>是否关注发布者 0为不是 1为是</td> </tr> </tbody> </table>

页面列表

ITEM_HTML