- 视频
- 用户
- 登录/注册
- 找回密码
查询视频下的评论
已测完
GET
/luckyjourney/indexindex/by/video
请求参数
Query 参数
current
string
可选
limit
string
可选
videoId
integer
视频id
示例值:
4818
Header 参数
token
string
token
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:8882/luckyjourney/indexindex/by/video?current&limit&videoId=4818' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{"type":null,"code":0,"state":true,"message":"成功","data":{"records":[{"id":327,"isDeleted":false,"gmtCreated":"2024-06-11 13:22:23","gmtUpdated":"2024-06-11 13:22:23","parentId":0,"rootId":327,"content":"一级评论2","fromUserId":1,"toUserId":null,"videoId":4818,"videoUserId":1,"likeCount":0,"childCount":3,"comments":null},{"id":326,"isDeleted":false,"gmtCreated":"2024-06-11 13:09:10","gmtUpdated":"2024-06-11 13:09:10","parentId":0,"rootId":326,"content":"一级评论","fromUserId":1,"toUserId":null,"videoId":4818,"videoUserId":1,"likeCount":1,"childCount":0,"comments":null}],"total":2,"size":5,"current":1,"pages":1},"count":0}