简要描述:
版本号 |
制定人 |
制定日期 |
修订日期 |
1.0.1 |
kevin |
2022-07-28 |
|
请求URL:
请求方式:
请求头:
请求参数:
参数名 |
是否必须 |
类型 |
说明 |
novel_id |
是 |
int |
小说id |
chapter_id |
是 |
int |
章节id |
page |
是 |
int |
页码 |
pagesize |
是 |
int |
条数 |
返回示例:
正确时返回:
{
"status": 200,
"msg": "成功",
"data": {
"list": [
{
"comment_id": "118",
"comment_content": "回复评论第1章节11111",
"comment_time": "2022-07-28 14:30:32",
"like_num": "0",
"reading_currency": "0",
"chapter_id": "1",
"to_comment_id": "117",
"to_user_id": "12",
"comment_user": {
"uid": 12,
"avatar": "https://public.aiwenzhe.com/uploads/user/avatar/2022/07/21/62d8cf1c71290.png",
"nickname": "3333"
},
"reply_user": {
"uid": 12,
"avatar": "https://public.aiwenzhe.com/uploads/user/avatar/2022/07/21/62d8cf1c71290.png",
"nickname": "3333"
},
"reply_data": {
"id": 117,
"content": "评论第1章节11111"
},
"chapter_data": {
"chapter_id": 1,
"chapter_name": "第1章 赏个妾室"
},
"like_status": false
},
],
"page": 1,
"pagesize": 3,
"total": 32
},
"other": []
}
错误时返回:
请求参数:
参数名 |
类型 |
说明 |
comment_id |
int |
评论ID |
comment_content |
string |
评论内容 |
comment_time |
string |
评论时间 |
like_num |
string |
点赞数 |
reading_currency |
string |
打赏阅读币 |
chapter_id |
int |
章节id |
to_comment_id |
int |
回复评论id |
to_user_id |
int |
回复uid |
comment_user.uid |
int |
评论人uid |
comment_user.avatar |
int |
评论人头像 |
comment_user.nickname |
int |
评论人昵称 |
reply_user.uid |
int |
回复人昵称uid |
reply_user.avatar |
int |
回复人头像 |
reply_user.nickname |
int |
回复人昵称 |
reply_data.id |
int |
回复评论id |
reply_data.content |
int |
回复内容 |
chapter_data.chapter_id |
int |
章节id |
chapter_data.chapter_name |
int |
章节名称 |
like_status |
string |
评论是否点赞 【true=已点,false=未点】 |
备注:
文档更新时间: 2022-07-28 15:02 作者:admin