获取热门文章列表接口
url:
/app_topic/getlist
method: post
returntype: json
接口参数
key | type | required | beizhu |
---|---|---|---|
page | string | true | 当前页码 |
psize | string | true | 一页显示条目数量 |
返回值
{ "code": "200", "rownum": "14027", "totalnum": 4676, "message": "查询成功", "data": [ { "id": "15642", "title": "whatsns百度小程序天级推送,周级推送,信息流素材推送插件",//文章标题 "describtion": "百度小程序已经开发上架,具体功能如表格展示:体验二维码:请扫...",//文章简介内容 "image": "https://wenda.whatsns.com/data/attach/topic/topicVBf35Q.jpg",//文章封面图 "displayorder": "0",//文章排序id "author": "mishen",//作者 "authorid": "1",//作者uid "views": "89633",//访问量 "articleclassid": "311",//文章分类id "isphone": "0",// "viewtime": "2019-12-01 16:56",//发布时间 "ispc": "1", "articles": "1", "likes": "3", "price": "0",//文章查看费用 "state": "1",//文章发布状态 1审核通过,0审核中 "readmode": "1",//文章阅读权限 "freeconent": "",//如果是付费文章,此为免费查看内容 "yuyin": "0",//预留字段,暂无用处 "iscourse": "0",//预留字段,暂无用处 "isupdatexunsearch": "1",//是否已经同步到第三方迅搜索引库 "sortime": "1575190562", "format_time": "2019-12-01 16:56", "author_has_vertify": false, "images": [//文章内容中提取的图片,可以在文章列表中单独提取展示 [ "<img src=\"https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575189723971209.png\"", "<img src=\"https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575190885691619.png\"", "<img src=\"https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575189808620979.png\"", "<img src=\"https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575189959368196.png\"", "<img src=\"https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575190162415004.png\"", "<img src=\"https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575190114528483.png\"", "<img src=\"https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575190220171429.png\"", "<img src=\"https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575190502316309.png\"" ], [ "https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575189723971209.png", "https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575190885691619.png", "https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575189808620979.png", "https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575189959368196.png", "https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575190162415004.png", "https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575190114528483.png", "https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575190220171429.png", "https://wenda.whatsns.com/data/ueditor/php/upload/image/20191201/1575190502316309.png" ] ], "sharecontent": "百度小程序已经开发上架,具体功能如表格展示:体验二维码:请扫...",//分享到第三方文本 "avatar": "//作者头像 } ], "metatext": "头条", "showarticle": 1 //首页是否显示文章 }
状态码
code | message |
---|---|
200 | 查询成功 |
201 | 查询为空 |