接口文档

接口文档


我发布的专栏评论

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>我发布的专栏评论</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/userReleaseColumnPost</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;">page</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>页码</td> </tr> <tr> <td style="text-align: left;">pageSize</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>数量</td> </tr> <tr> <td style="text-align: left;">column_id</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>专栏id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 200, "message": "ok", "data": { "data": [ { "action": "reply", "action_id": 76241, "post_id": 76241, "column_id": 1980, "article_id": 9679, "comment_post_id": 76240, "reply_post_id": 76240, "img": [], "reply_count": 0, "like_count": 0, "create_time": 1650347582, "reply": { "content": "I’m going back in a few", "user_id": 249073, "user_nickname": "Anthony" }, "article": { "article_id": 9679, "title": "111111111111111111111111111111" } }, { "action": "reply", "action_id": 76220, "post_id": 76220, "column_id": 4, "article_id": 3999, "comment_post_id": 76212, "reply_post_id": 76212, "img": [], "reply_count": 0, "like_count": 0, "create_time": 1635479507, "reply": { "content": "在做什么?!?[em222][em230]&lt;a href=\"https://www.youdubook.com/column/columnAuthorPage?uid=95215\"&gt;@涉世够深&lt;/a&gt;", "user_id": 253619, "user_nickname": "书友16319363527Ski" }, "article": { "article_id": 3999, "title": "终章" } }, { "action": "reply", "action_id": 76219, "post_id": 76219, "column_id": 1, "article_id": 7370, "comment_post_id": 76183, "reply_post_id": 76183, "img": [], "reply_count": 0, "like_count": 0, "create_time": 1635473766, "reply": { "content": "哈咯啦咯啦咯啦咯看经济高后", "user_id": 95215, "user_nickname": "涉世太深" }, "article": { "article_id": 7370, "title": "高考志愿、专业与两种自由观" } }, { "action": "reply", "action_id": 76218, "post_id": 76218, "column_id": 1, "article_id": 7370, "comment_post_id": 76183, "reply_post_id": 76183, "img": [], "reply_count": 0, "like_count": 0, "create_time": 1635473469, "reply": { "content": "哈咯啦咯啦咯啦咯看经济高后", "user_id": 95215, "user_nickname": "涉世太深" }, "article": { "article_id": 7370, "title": "高考志愿、专业与两种自由观" } }, { "action": "reply", "action_id": 76213, "post_id": 76213, "column_id": 4, "article_id": 3999, "comment_post_id": 76212, "reply_post_id": 76212, "img": [], "reply_count": 0, "like_count": 0, "create_time": 1635406277, "reply": { "content": "在做什么?!?[em222][em230]&lt;a href=\"https://www.youdubook.com/column/columnAuthorPage?uid=95215\"&gt;@涉世够深&lt;/a&gt;", "user_id": 253619, "user_nickname": "书友16319363527Ski" }, "article": { "article_id": 3999, "title": "终章" } }, { "action": "comment", "action_id": 76211, "post_id": 76211, "column_id": 4, "article_id": 3999, "comment_post_id": 0, "reply_post_id": 0, "img": [], "reply_count": 0, "like_count": 0, "create_time": 1635401551, "article": { "article_id": 3999, "title": "终章" } } ], "total": 6, "current_page": 1, "per_page": 10, "last_page": 1 } }</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;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML