动态详情
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://wanban.hnpsy.net/api/dynamic.index/getDynamicInfo</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>Header:</strong></p>
<pre><code>token:8f869b1a302884b2a247a29ca9ea449f
source:1
</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;">dynamic_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>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;动态详情&quot;,
&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;avatar&quot;: &quot;http://image.hnpsy.net/upload%2F20210617%5Cf0c3071d4719d78f353d4e5a4febf2b7.jpg&quot;,
&quot;nickname&quot;: &quot;我是昵称&quot;,//nicheng
&quot;age&quot;: 20,//性别
&quot;sex&quot;: 1, // 1男 2女
&quot;count_zan&quot;: 1, //总计赞总数
&quot;is_zan&quot;: 1,//是否点赞 1是 0否
&quot;is_comment&quot;: 1,//是否评论 1是 0否
&quot;dsList&quot;: [//打赏列表
{
&quot;id&quot;: 2,
&quot;avatar&quot;: &quot;http://image.hnpsy.net/upload%2F20210617%5Cf0c3071d4719d78f353d4e5a4febf2b7.jpg&quot;,
&quot;nickname&quot;: &quot;1&quot;
},
{
&quot;id&quot;: 12,
&quot;avatar&quot;: &quot;123213&quot;,
&quot;nickname&quot;: &quot;321321321&quot;
}
],
&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;: []
}
]
}
]
}
]
}
}
</code></pre>