分页获取主题及其文章
<h3>分页获取主题及其文章</h3>
<p>请求地址: POST <code>/topic/topic_article_list</code></p>
<table>
<thead>
<tr>
<th>字段</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>appid</td>
<td>string</td>
<td>小程序appid</td>
</tr>
<tr>
<td>client_version</td>
<td>string</td>
<td>小程序版本</td>
</tr>
<tr>
<td>index</td>
<td>integer</td>
<td>开始下标( 第一次请求传 0,以后请求传返回的 nextIndex )</td>
</tr>
</tbody>
</table>
<p>返回示例</p>
<pre><code>{
"msg": "获取主题列表数据成功",
"data": {
"nextIndex": 4,
"data": [
{
"id": 29,
"name": "祝福的223",
"banner": null,
"sort": 1,
"articles": [
{
"article_id": 84876,
"title": "祝福你,我的战友",
"publish_at": "1565255621",
"article_type": 4,
"author_id": 17,
"link": "",
"image_list": {
"index_thumb": "http://yuetu.heywoodsminiprogram.com/test/images/jpg/2019731121173.jpg",
"recommend_thumb": "http://yuetu.heywoodsminiprogram.com/test/images/jpg/20197311214220.jpg",
"share_thumb": "http://yuetu.heywoodsminiprogram.com/test/images/jpg/20197311219885.jpg",
"index_data_thumb": "http://yuetu.heywoodsminiprogram.com/test/images/jpg/2019731126778.jpg",
"background_thumb": "http://yuetu.heywoodsminiprogram.com/test/images/gif/20197310574357.gif"
},
"is_music": 0,
"author_info": {
"author": "见者有福",
"logo": "http://dev.heka4.site/mini-program-matrix/data/images/author/a6bde0e7aa8a95631ea3fa29362b7de4.jpg",
"articles_num": 203
},
"list_vedio_type": "0",
"width": "0",
"height": "0",
"cover_url": "",
"index_thumb_width": 648,
"index_thumb_height": 324,
"title_prefix_type": "1",
"subtitle": "祝福战友",
"pv": 10038,
"share_num": 2002,
"fans_num": 0,
"commend_num": 0,
"is_follow_new": false,
"is_follow": false,
"is_commend": false,
"tab_info": {
"tab_name": "",
"tab_id": 0,
"trend": ""
},
"exp": null
}
]
}
]
},
"code": 1,
"state": true
}</code></pre>