接口文档

接口文档


我的发布的目录

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>我的发布的目录</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/userCenterReleaseDirectory</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> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 200, "message": "ok", "data": [ { "cover": "/default/user_release_novel.png", "title": "小说评论", "module": "novel", "number": 35, "last_time": 1634893924, "content": "35条" }, { "cover": "/default/user_release_listen.png", "title": "有声评论", "module": "listen", "number": 7, "last_time": 1635132123, "content": "7条" }, { "cover": "/default/user_release_column.png", "title": "专栏评论", "module": "column", "number": 2, "last_time": 1634896758, "content": "2条" }, { "cover": "/default/user_release_forum.png", "title": "帖子", "module": "forum", "number": 2, "last_time": 1632820989, "content": "2条" }, { "cover": "/default/user_release_booklist.png", "title": "书单", "module": "booklist", "number": 5, "last_time": 1633599023, "content": "5条" }, { "cover": "/default/user_release_information.png", "title": "资讯", "module": "information", "number": 8, "last_time": 1633747408, "content": "8条" }, { "cover": "/default/user_release_information.png", "title": "专题", "module": "special", "number": 2, "last_time": 1650520658, "content": "2条" } ] }</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