动态列表
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://wanban.hnpsy.net/api/dynamic.index/lst</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>Header:</strong></p>
<pre><code>source:1
token:e83aef5cf0dfa3eec6351770bf6ce48c
</code></pre>
<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;">page</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">limit</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">uid</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>默认为自己,传uid时候显示uid用户动态</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>1关注好友2推荐3附近的人</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;动态列表&quot;,
&quot;data&quot;: {
&quot;total&quot;: 25,
&quot;per_page&quot;: 10,
&quot;current_page&quot;: 1,
&quot;last_page&quot;: 3,
&quot;data&quot;: [
{
&quot;id&quot;: 28,
&quot;uid&quot;: 2,
&quot;tag_id&quot;: 2,
&quot;title&quot;: &quot;我是动态内容&quot;,
&quot;image&quot;: &quot;&quot;,
&quot;type&quot;: 0,//类型{select}(0:文字加图片,1:纯文字,2:纯图片,3:纯视频,4:文字加视频)
&quot;create_time&quot;: &quot;2021-06-04 16:48:02&quot;,
&quot;update_time&quot;: &quot;2021-06-04 16:48:02&quot;,
&quot;delete_time&quot;: null,
&quot;vadio_file&quot;: &quot;http://image.hnpsy.net&quot;,
&quot;is_zan&quot;: 1,//1已经点赞 0 未点赞,
&quot;zan_num&quot;: 10,//点赞数
&quot;is_comment&quot;: 1,//1已经评论 0 未评论
&quot;commentList&quot;: [
{
&quot;id&quot;: 4,
&quot;dynamic_id&quot;: 28,
&quot;uid&quot;: 2,
&quot;create_time&quot;: &quot;2021-06-28 17:36:35&quot;,
&quot;status&quot;: 1,
&quot;comment&quot;: &quot;哈哈哈哈哈哈哈&quot;,//评论内容
&quot;p_comment_id&quot;: 0,
&quot;avatar&quot;: &quot;http://image.hnpsy.net/upload%2F20210617%5Cf0c3071d4719d78f353d4e5a4febf2b7.jpg&quot;,//评论人头像
&quot;nickname&quot;: &quot;1&quot;,//评论人昵称
&quot;answer&quot;: []
},
{
&quot;id&quot;: 5,
&quot;dynamic_id&quot;: 28,
&quot;uid&quot;: 2,
&quot;create_time&quot;: &quot;2021-06-28 17:43:18&quot;,
&quot;status&quot;: 1,
&quot;comment&quot;: &quot;评论内容&quot;,
&quot;p_comment_id&quot;: 0,
&quot;avatar&quot;: &quot;http://image.hnpsy.net/upload%2F20210617%5Cf0c3071d4719d78f353d4e5a4febf2b7.jpg&quot;,
&quot;nickname&quot;: &quot;1&quot;,
&quot;answer&quot;: [
{
&quot;id&quot;: 6,
&quot;dynamic_id&quot;: 28,
&quot;uid&quot;: 2,
&quot;create_time&quot;: null,
&quot;status&quot;: 1,
&quot;comment&quot;: &quot;666&quot;,
&quot;p_comment_id&quot;: 5,
&quot;avatar&quot;: &quot;http://image.hnpsy.net/upload%2F20210617%5Cf0c3071d4719d78f353d4e5a4febf2b7.jpg&quot;,
&quot;nickname&quot;: &quot;1&quot;,
&quot;answer&quot;: [
{
&quot;id&quot;: 7,
&quot;dynamic_id&quot;: 28,
&quot;uid&quot;: 2,
&quot;create_time&quot;: null,
&quot;status&quot;: 1,
&quot;comment&quot;: &quot;777&quot;,
&quot;p_comment_id&quot;: 6,
&quot;avatar&quot;: &quot;http://image.hnpsy.net/upload%2F20210617%5Cf0c3071d4719d78f353d4e5a4febf2b7.jpg&quot;,
&quot;nickname&quot;: &quot;1&quot;,
&quot;answer&quot;: []
}
]
}
]
}
]
},
{
&quot;id&quot;: 25,
&quot;uid&quot;: 12,
&quot;tag_id&quot;: 2,
&quot;title&quot;: &quot;哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或&quot;,
&quot;image&quot;: &quot;/topic/20210513/5f015805f1c0bfa85e32c2f3392bfa60.jpg&quot;,
&quot;type&quot;: 0,
&quot;create_time&quot;: &quot;2021-05-13 11:15:49&quot;,
&quot;update_time&quot;: &quot;2021-05-13 11:15:49&quot;,
&quot;delete_time&quot;: null,
&quot;vadio_file&quot;: &quot;&quot;,
&quot;is_zan&quot;: 0,
&quot;is_comment&quot;: 0,
&quot;commentList&quot;: null
},
{
&quot;id&quot;: 24,
&quot;uid&quot;: 12,
&quot;tag_id&quot;: 2,
&quot;title&quot;: &quot;fffffffffffffffffffffeeeq呃呃呃呃呃鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅鹅饿热热热热热若若若若若若若若若若若若若若若若。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。&quot;,
&quot;image&quot;: &quot;&quot;,
&quot;type&quot;: 0,
&quot;create_time&quot;: &quot;2021-05-13 11:14:32&quot;,
&quot;update_time&quot;: &quot;2021-05-13 11:14:32&quot;,
&quot;delete_time&quot;: null,
&quot;vadio_file&quot;: &quot;&quot;,
&quot;is_zan&quot;: 0,
&quot;is_comment&quot;: 0,
&quot;commentList&quot;: null
},
{
&quot;id&quot;: 23,
&quot;uid&quot;: 11,
&quot;tag_id&quot;: 2,
&quot;title&quot;: &quot;&quot;,
&quot;image&quot;: &quot;/topic/20210513/443ded5dbec94eaa8915f8b86c8df47a.jpg&quot;,
&quot;type&quot;: 0,
&quot;create_time&quot;: &quot;2021-05-13 11:09:13&quot;,
&quot;update_time&quot;: &quot;2021-05-13 11:09:13&quot;,
&quot;delete_time&quot;: null,
&quot;vadio_file&quot;: &quot;&quot;,
&quot;is_zan&quot;: 0,
&quot;is_comment&quot;: 0,
&quot;commentList&quot;: null
},
{
&quot;id&quot;: 22,
&quot;uid&quot;: 11,
&quot;tag_id&quot;: 2,
&quot;title&quot;: &quot;&quot;,
&quot;image&quot;: &quot;/topic/20210513/023cb0a108c441b3ac26506adec9c61d.jpg&quot;,
&quot;type&quot;: 0,
&quot;create_time&quot;: &quot;2021-05-13 11:09:02&quot;,
&quot;update_time&quot;: &quot;2021-05-13 11:09:02&quot;,
&quot;delete_time&quot;: null,
&quot;vadio_file&quot;: &quot;&quot;,
&quot;is_zan&quot;: 0,
&quot;is_comment&quot;: 0,
&quot;commentList&quot;: null
},
{
&quot;id&quot;: 21,
&quot;uid&quot;: 11,
&quot;tag_id&quot;: 2,
&quot;title&quot;: &quot;的&quot;,
&quot;image&quot;: &quot;/topic/20210513/5f407bdf8221704ae5daf58aa33c38bc.jpg&quot;,
&quot;type&quot;: 0,
&quot;create_time&quot;: &quot;2021-05-13 11:08:37&quot;,
&quot;update_time&quot;: &quot;2021-05-13 11:08:37&quot;,
&quot;delete_time&quot;: null,
&quot;vadio_file&quot;: &quot;&quot;,
&quot;is_zan&quot;: 0,
&quot;is_comment&quot;: 0,
&quot;commentList&quot;: null
},
{
&quot;id&quot;: 20,
&quot;uid&quot;: 11,
&quot;tag_id&quot;: 2,
&quot;title&quot;: &quot;出去玩儿了。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。&quot;,
&quot;image&quot;: &quot;/topic/20210513/58ea03669f6bebfef1b75079d39260f6.jpg&quot;,
&quot;type&quot;: 0,
&quot;create_time&quot;: &quot;2021-05-13 11:07:26&quot;,
&quot;update_time&quot;: &quot;2021-05-13 11:07:26&quot;,
&quot;delete_time&quot;: null,
&quot;vadio_file&quot;: &quot;&quot;,
&quot;is_zan&quot;: 0,
&quot;is_comment&quot;: 0,
&quot;commentList&quot;: null
},
{
&quot;id&quot;: 19,
&quot;uid&quot;: 11,
&quot;tag_id&quot;: 1,
&quot;title&quot;: &quot;天气真好!!!!?&quot;,
&quot;image&quot;: &quot;/topic/20210513/1fe0f91d97654b457178c6161d6ed4bb.jpg&quot;,
&quot;type&quot;: 0,
&quot;create_time&quot;: &quot;2021-05-13 11:06:27&quot;,
&quot;update_time&quot;: &quot;2021-05-13 11:06:27&quot;,
&quot;delete_time&quot;: null,
&quot;vadio_file&quot;: &quot;&quot;,
&quot;is_zan&quot;: 0,
&quot;is_comment&quot;: 0,
&quot;commentList&quot;: null
},
{
&quot;id&quot;: 18,
&quot;uid&quot;: 11,
&quot;tag_id&quot;: 2,
&quot;title&quot;: &quot;哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈喽哈&quot;,
&quot;image&quot;: &quot;&quot;,
&quot;type&quot;: 0,
&quot;create_time&quot;: &quot;2021-05-12 17:35:47&quot;,
&quot;update_time&quot;: &quot;2021-05-12 17:35:47&quot;,
&quot;delete_time&quot;: null,
&quot;vadio_file&quot;: &quot;&quot;,
&quot;is_zan&quot;: 0,
&quot;is_comment&quot;: 0,
&quot;commentList&quot;: null
},
{
&quot;id&quot;: 17,
&quot;uid&quot;: 11,
&quot;tag_id&quot;: 2,
&quot;title&quot;: &quot;妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀妈呀&quot;,
&quot;image&quot;: &quot;/topic/20210512/72092c17248466b2080bc7c728523368.jpg&quot;,
&quot;type&quot;: 0,
&quot;create_time&quot;: &quot;2021-05-12 17:35:29&quot;,
&quot;update_time&quot;: &quot;2021-05-12 17:35:29&quot;,
&quot;delete_time&quot;: null,
&quot;vadio_file&quot;: &quot;&quot;,
&quot;is_zan&quot;: 0,
&quot;is_comment&quot;: 0,
&quot;commentList&quot;: null
}
]
}
}
</code></pre>