接口文档

接口文档


我发布的书评评论

<h5>简要描述</h5> <ul> <li>我发布的书评评论</li> </ul> <h5>请求URL</h5> <ul> <li><code>/api/listUserReleaseByScorePost</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;">book_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>小说id</td> </tr> <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> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 200, "data": { "data": [ { "post_id": 305, "obj_id": 6, "obj_type": "score", "comment_post_id": 297, "content": "234566775544", "like_number": 0, "reply_number": 0, "status": 1, "create_time": "2021-12-17 13:23:58", "image": [], "reply_user": { "user_id": 1, "nickname": "999999" }, "reply_post": { "post_id": 297, "obj_id": 6, "obj_type": "score", "comment_post_id": 0, "content": "哈喽摩托", "image": [], "user": { "user_id": 1, "nickname": "999999" } }, "score_data": { "score_id": 6, "content": "Bill!' then the puppy began a series of short charges at the March Hare will be When they take us up and say \"Who am I to get in?' she repeated, aloud. 'I must go by the way out of their wits!' So.", "image": [ "https://tsj-oss.oss-cn-zhangjiakou.aliyuncs.com/cover/00ae7fbd2a63c0ddfa0aae4128c16db8.jpg" ], "user": { "user_id": 22, "nickname": "冷智明" }, "book": { "book_id": 15, "title": "武噬蛮荒" } } }, { "post_id": 304, "obj_id": 6, "obj_type": "score", "comment_post_id": 0, "content": "1233456775456775", "like_number": 0, "reply_number": 0, "status": 1, "create_time": "2021-12-17 13:23:48", "image": [], "score_data": { "score_id": 6, "content": "Bill!' then the puppy began a series of short charges at the March Hare will be When they take us up and say \"Who am I to get in?' she repeated, aloud. 'I must go by the way out of their wits!' So.", "image": [ "https://tsj-oss.oss-cn-zhangjiakou.aliyuncs.com/cover/00ae7fbd2a63c0ddfa0aae4128c16db8.jpg" ], "user": { "user_id": 22, "nickname": "冷智明" }, "book": { "book_id": 15, "title": "武噬蛮荒" } } }, { "post_id": 298, "obj_id": 6, "obj_type": "score", "comment_post_id": 290, "content": "呵呵", "like_number": 0, "reply_number": 0, "status": 1, "create_time": "2021-12-16 17:09:02", "image": [], "reply_user": { "user_id": 57, "nickname": "推222dddddd" }, "reply_post": { "post_id": 290, "obj_id": 6, "obj_type": "score", "comment_post_id": 0, "content": "123213123123", "image": [], "user": { "user_id": 57, "nickname": "推222dddddd" } }, "score_data": { "score_id": 6, "content": "Bill!' then the puppy began a series of short charges at the March Hare will be When they take us up and say \"Who am I to get in?' she repeated, aloud. 'I must go by the way out of their wits!' So.", "image": [ "https://tsj-oss.oss-cn-zhangjiakou.aliyuncs.com/cover/00ae7fbd2a63c0ddfa0aae4128c16db8.jpg" ], "user": { "user_id": 22, "nickname": "冷智明" }, "book": { "book_id": 15, "title": "武噬蛮荒" } } }, { "post_id": 297, "obj_id": 6, "obj_type": "score", "comment_post_id": 0, "content": "哈喽摩托", "like_number": 0, "reply_number": 1, "status": 1, "create_time": "2021-12-16 17:01:16", "image": [], "score_data": { "score_id": 6, "content": "Bill!' then the puppy began a series of short charges at the March Hare will be When they take us up and say \"Who am I to get in?' she repeated, aloud. 'I must go by the way out of their wits!' So.", "image": [ "https://tsj-oss.oss-cn-zhangjiakou.aliyuncs.com/cover/00ae7fbd2a63c0ddfa0aae4128c16db8.jpg" ], "user": { "user_id": 22, "nickname": "冷智明" }, "book": { "book_id": 15, "title": "武噬蛮荒" } } }, { "post_id": 296, "obj_id": 6, "obj_type": "score", "comment_post_id": 0, "content": "哈喽", "like_number": 0, "reply_number": 0, "status": 1, "create_time": "2021-12-16 17:00:58", "image": [], "score_data": { "score_id": 6, "content": "Bill!' then the puppy began a series of short charges at the March Hare will be When they take us up and say \"Who am I to get in?' she repeated, aloud. 'I must go by the way out of their wits!' So.", "image": [ "https://tsj-oss.oss-cn-zhangjiakou.aliyuncs.com/cover/00ae7fbd2a63c0ddfa0aae4128c16db8.jpg" ], "user": { "user_id": 22, "nickname": "冷智明" }, "book": { "book_id": 15, "title": "武噬蛮荒" } } } ], "total": 5 }, "message": "" }{ "code": 200, "data": { "data": [ { "post_id": 305, "obj_id": 6, "obj_type": "score", "comment_post_id": 297, "content": "234566775544", "like_number": 0, "reply_number": 0, "status": 1, "create_time": "2021-12-17 13:23:58", "image": [], "reply_user": { "user_id": 1, "nickname": "999999" }, "reply_post": { "post_id": 297, "obj_id": 6, "obj_type": "score", "comment_post_id": 0, "content": "哈喽摩托", "image": [], "user": { "user_id": 1, "nickname": "999999" } }, "score_data": { "score_id": 6, "content": "Bill!' then the puppy began a series of short charges at the March Hare will be When they take us up and say \"Who am I to get in?' she repeated, aloud. 'I must go by the way out of their wits!' So.", "image": [ "https://tsj-oss.oss-cn-zhangjiakou.aliyuncs.com/cover/00ae7fbd2a63c0ddfa0aae4128c16db8.jpg" ], "user": { "user_id": 22, "nickname": "冷智明" }, "book": { "book_id": 15, "title": "武噬蛮荒" } } }, { "post_id": 304, "obj_id": 6, "obj_type": "score", "comment_post_id": 0, "content": "1233456775456775", "like_number": 0, "reply_number": 0, "status": 1, "create_time": "2021-12-17 13:23:48", "image": [], "score_data": { "score_id": 6, "content": "Bill!' then the puppy began a series of short charges at the March Hare will be When they take us up and say \"Who am I to get in?' she repeated, aloud. 'I must go by the way out of their wits!' So.", "image": [ "https://tsj-oss.oss-cn-zhangjiakou.aliyuncs.com/cover/00ae7fbd2a63c0ddfa0aae4128c16db8.jpg" ], "user": { "user_id": 22, "nickname": "冷智明" }, "book": { "book_id": 15, "title": "武噬蛮荒" } } }, { "post_id": 298, "obj_id": 6, "obj_type": "score", "comment_post_id": 290, "content": "呵呵", "like_number": 0, "reply_number": 0, "status": 1, "create_time": "2021-12-16 17:09:02", "image": [], "reply_user": { "user_id": 57, "nickname": "推222dddddd" }, "reply_post": { "post_id": 290, "obj_id": 6, "obj_type": "score", "comment_post_id": 0, "content": "123213123123", "image": [], "user": { "user_id": 57, "nickname": "推222dddddd" } }, "score_data": { "score_id": 6, "content": "Bill!' then the puppy began a series of short charges at the March Hare will be When they take us up and say \"Who am I to get in?' she repeated, aloud. 'I must go by the way out of their wits!' So.", "image": [ "https://tsj-oss.oss-cn-zhangjiakou.aliyuncs.com/cover/00ae7fbd2a63c0ddfa0aae4128c16db8.jpg" ], "user": { "user_id": 22, "nickname": "冷智明" }, "book": { "book_id": 15, "title": "武噬蛮荒" } } }, { "post_id": 297, "obj_id": 6, "obj_type": "score", "comment_post_id": 0, "content": "哈喽摩托", "like_number": 0, "reply_number": 1, "status": 1, "create_time": "2021-12-16 17:01:16", "image": [], "score_data": { "score_id": 6, "content": "Bill!' then the puppy began a series of short charges at the March Hare will be When they take us up and say \"Who am I to get in?' she repeated, aloud. 'I must go by the way out of their wits!' So.", "image": [ "https://tsj-oss.oss-cn-zhangjiakou.aliyuncs.com/cover/00ae7fbd2a63c0ddfa0aae4128c16db8.jpg" ], "user": { "user_id": 22, "nickname": "冷智明" }, "book": { "book_id": 15, "title": "武噬蛮荒" } } }, { "post_id": 296, "obj_id": 6, "obj_type": "score", "comment_post_id": 0, "content": "哈喽", "like_number": 0, "reply_number": 0, "status": 1, "create_time": "2021-12-16 17:00:58", "image": [], "score_data": { "score_id": 6, "content": "Bill!' then the puppy began a series of short charges at the March Hare will be When they take us up and say \"Who am I to get in?' she repeated, aloud. 'I must go by the way out of their wits!' So.", "image": [ "https://tsj-oss.oss-cn-zhangjiakou.aliyuncs.com/cover/00ae7fbd2a63c0ddfa0aae4128c16db8.jpg" ], "user": { "user_id": 22, "nickname": "冷智明" }, "book": { "book_id": 15, "title": "武噬蛮荒" } } } ], "total": 5 }, "message": "" }</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;">post_id</td> <td style="text-align: left;">int</td> <td>评论id</td> </tr> <tr> <td style="text-align: left;">obj_id</td> <td style="text-align: left;">int</td> <td>评论对象id</td> </tr> <tr> <td style="text-align: left;">obj_type</td> <td style="text-align: left;">int</td> <td>评论对象类型</td> </tr> <tr> <td style="text-align: left;">comment_post_id</td> <td style="text-align: left;">int</td> <td>上级评论id</td> </tr> <tr> <td style="text-align: left;">content</td> <td style="text-align: left;">int</td> <td>评论内容</td> </tr> <tr> <td style="text-align: left;">like_number</td> <td style="text-align: left;">int</td> <td>点赞数量</td> </tr> <tr> <td style="text-align: left;">reply_number</td> <td style="text-align: left;">int</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;">create_time</td> <td style="text-align: left;">int</td> <td>创建时间</td> </tr> <tr> <td style="text-align: left;">image</td> <td style="text-align: left;">int</td> <td>图片</td> </tr> <tr> <td style="text-align: left;">reply_user</td> <td style="text-align: left;">int</td> <td>被回复人的信息 只有二级评论的时候会有该属性</td> </tr> <tr> <td style="text-align: left;">reply_user.user_id</td> <td style="text-align: left;">int</td> <td>被回复人的用户id</td> </tr> <tr> <td style="text-align: left;">reply_user.nickname</td> <td style="text-align: left;">int</td> <td>被回复人的用户昵称</td> </tr> <tr> <td style="text-align: left;">reply_post</td> <td style="text-align: left;">int</td> <td>被回复的评论信息 只有二级评论的时候会有该属性</td> </tr> <tr> <td style="text-align: left;">reply_post.post_id</td> <td style="text-align: left;">int</td> <td>被回复的评论的评论id</td> </tr> <tr> <td style="text-align: left;">reply_post.obj_id</td> <td style="text-align: left;">int</td> <td>被回复的评论的评论对象id</td> </tr> <tr> <td style="text-align: left;">reply_post.obj_type</td> <td style="text-align: left;">int</td> <td>被回复的评论的评论对象类型</td> </tr> <tr> <td style="text-align: left;">reply_post.comment_post_id</td> <td style="text-align: left;">int</td> <td>被回复的评论的上级评论id</td> </tr> <tr> <td style="text-align: left;">reply_post.content</td> <td style="text-align: left;">int</td> <td>被回复的评论的内容</td> </tr> <tr> <td style="text-align: left;">reply_post.image</td> <td style="text-align: left;">int</td> <td>被回复的评论的图片</td> </tr> <tr> <td style="text-align: left;">reply_post.user</td> <td style="text-align: left;">int</td> <td>被回复的评论的用户信息</td> </tr> <tr> <td style="text-align: left;">reply_post.user.user_id</td> <td style="text-align: left;">int</td> <td>被回复的评论的用户id</td> </tr> <tr> <td style="text-align: left;">reply_post.user.nickname</td> <td style="text-align: left;">int</td> <td>被回复的评论的用户昵称</td> </tr> <tr> <td style="text-align: left;">score_data</td> <td style="text-align: left;">int</td> <td>评分信息</td> </tr> <tr> <td style="text-align: left;">score_id</td> <td style="text-align: left;">int</td> <td>评分id</td> </tr> <tr> <td style="text-align: left;">content</td> <td style="text-align: left;">int</td> <td>评分内容</td> </tr> <tr> <td style="text-align: left;">image</td> <td style="text-align: left;">int</td> <td>评分图片</td> </tr> <tr> <td style="text-align: left;">score_data.user</td> <td style="text-align: left;">int</td> <td>评分用户信息</td> </tr> <tr> <td style="text-align: left;">score_data.user.user_id</td> <td style="text-align: left;">int</td> <td>评分用户id</td> </tr> <tr> <td style="text-align: left;">score_data.user.nickname</td> <td style="text-align: left;">int</td> <td>评分用户昵称</td> </tr> <tr> <td style="text-align: left;">score_data.book</td> <td style="text-align: left;">int</td> <td>评分小说信息</td> </tr> <tr> <td style="text-align: left;">score_data.book.book_id</td> <td style="text-align: left;">int</td> <td>评分小说id</td> </tr> <tr> <td style="text-align: left;">score_data.book.title</td> <td style="text-align: left;">int</td> <td>评分小说标题</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML