ktn-go


获取收藏列表

<p><strong>简要描述:</strong></p> <ul> <li>收藏列表接口</li> </ul> <p><strong>请求URL:</strong></p> <ul> <li><code>/user/collect</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET</li> </ul> <p><strong>参数:</strong></p> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>page</td> <td>是</td> <td>string</td> <td>分页</td> </tr> <tr> <td>limit</td> <td>否</td> <td>string</td> <td>每页返回多少条数据,默认10条</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { "status": 200, "data": [{ "tid": "1", "title": "12154545", "created_time": "收藏时间" }], "msg":"" }</code></pre> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>status</td> <td>int</td> <td>200-成功</td> </tr> <tr> <td>data</td> <td>Array</td> <td>最近的提问数据</td> </tr> <tr> <td>msg</td> <td>string</td> <td>系统数据</td> </tr> </tbody> </table> <p>data中Array数据示例:</p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>tid</td> <td>string</td> <td>文章ID</td> </tr> <tr> <td>title</td> <td>string</td> <td>文章标题</td> </tr> <tr> <td>create_time</td> <td>string</td> <td>创建时间</td> </tr> </tbody> </table> <p><strong>备注</strong></p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML