异潮

潮流资讯


获取话题详情

<h5>简要描述</h5> <ul> <li>获取话题详情</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/supreme/topic/detail</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET</li> </ul> <h5>参数</h5> <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;">userID</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>用户ID</td> </tr> <tr> <td style="text-align: left;">topicID</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>话题ID</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { &amp;quot;topicID&amp;quot;: 4, &amp;quot;title&amp;quot;: &amp;quot;#话题789&amp;quot;, &amp;quot;url&amp;quot;: &amp;quot;https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_C4N3.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit&amp;quot;, &amp;quot;joinNumber&amp;quot;: 0, &amp;quot;endTime&amp;quot;: 1614916800000, &amp;quot;status&amp;quot;: 2, &amp;quot;description&amp;quot;: &amp;quot;测试话题过期的时间&amp;quot;, &amp;quot;tag&amp;quot;: [ { &amp;quot;tagID&amp;quot;: 1, &amp;quot;tagName&amp;quot;: &amp;quot;男士卫衣&amp;quot;, &amp;quot;skipType&amp;quot;: 0, &amp;quot;brandID&amp;quot;: 1 } ], &amp;quot;focusStatus&amp;quot;: 1, &amp;quot;userUrl&amp;quot;: [] }</code></pre> <h5>返回参数说明</h5> <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;">topicID</td> <td style="text-align: left;">int</td> <td>话题ID</td> </tr> <tr> <td style="text-align: left;">title</td> <td style="text-align: left;">string</td> <td>话题标题</td> </tr> <tr> <td style="text-align: left;">url</td> <td style="text-align: left;">string</td> <td>话题封面</td> </tr> <tr> <td style="text-align: left;">joinNumber</td> <td style="text-align: left;">int</td> <td>参与人数</td> </tr> <tr> <td style="text-align: left;">endTime</td> <td style="text-align: left;">long</td> <td>结束时间</td> </tr> <tr> <td style="text-align: left;">status</td> <td style="text-align: left;">int</td> <td>话题状态 0未开始,1进行中,2已结速</td> </tr> <tr> <td style="text-align: left;">userUrl</td> <td style="text-align: left;">array</td> <td>参与用户的头像</td> </tr> <tr> <td style="text-align: left;">description</td> <td style="text-align: left;">string</td> <td>话题描述</td> </tr> <tr> <td style="text-align: left;">tag</td> <td style="text-align: left;">array</td> <td>话题所带的标签</td> </tr> <tr> <td style="text-align: left;">focusStatus</td> <td style="text-align: left;">int</td> <td>关注话题的状态 0未关注,1关注</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML