接口文档

接口文档


我发布的有声评论

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>我发布的有声评论</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/userReleaseListenPost</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;">listen_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": "comment", "action_id": 85, "post_id": 85, "listen_id": 1, "comment_post_id": 0, "reply_post_id": 0, "img": [], "reply_count": 0, "like_count": 0, "create_time": 1635132123 }, { "action": "comment", "action_id": 84, "post_id": 84, "listen_id": 1, "comment_post_id": 0, "reply_post_id": 0, "img": [], "reply_count": 0, "like_count": 0, "create_time": 1635131775 }, { "action": "reply", "action_id": 41, "post_id": 41, "listen_id": 1, "comment_post_id": 29, "reply_post_id": 29, "img": [], "reply_count": 0, "like_count": 0, "create_time": 1632816324, "reply": { "content": "Add[em46][em113] Assad’s and the guys for", "user_id": 249073, "user_nickname": "Anthony" } }, { "action": "comment", "action_id": 38, "post_id": 38, "listen_id": 3, "comment_post_id": 0, "reply_post_id": 0, "img": [], "reply_count": 2, "like_count": 0, "create_time": 1631095724 }, { "action": "reply", "action_id": 39, "post_id": 39, "listen_id": 3, "comment_post_id": 38, "reply_post_id": 38, "img": [], "reply_count": 1, "like_count": 0, "create_time": 1631095724, "reply": { "content": "1111115555", "user_id": 48724, "user_nickname": "werty" } } ], "total": 5, "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