- 使用须知
- 首页中心
- 登录
- 个人中心
- 视频中心
- 通用
获取楼层评论
开发中
GET
/comment/floor
必选参数 :
parentCommentId: 楼层评论 id
可选参数 : limit: 取出评论数量 , 默认为 20
请求参数
Query 参数
parentCommentId
string
可选
示例值:
1438569889
id
string
可选
示例值:
29764564
type
string
可选
示例值:
0
示例代码
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:3000/comment/floor?parentCommentId=1438569889&id=29764564&type=0'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
ownerComment
object
必需
currentComment
null
必需
comments
array [object {23}]
必需
hasMore
boolean
必需
totalCount
integer
必需
time
integer
必需
bestComments
array
必需
示例
{
"code": 200,
"message": "获取成功",
"data": {
"ownerComment": {
"user": {
"locationInfo": null,
"liveInfo": null,
"anonym": 0,
"commonIdentity": null,
"avatarDetail": null,
"userType": 0,
"avatarUrl": "http://p1.music.126.net/q6yzWeuorig8zDXSLcZ_wg==/109951163437480455.jpg",
"followed": false,
"mutual": false,
"remarkName": null,
"socialUserId": null,
"vipRights": {
"associator": null,
"musicPackage": null,
"redplus": null,
"redVipAnnualCount": -1,
"redVipLevel": 0
},
"nickname": "_许小小",
"authStatus": 0,
"expertTags": null,
"experts": null,
"vipType": 0,
"userId": 451702409,
"target": null
},
"beReplied": [],
"pendantData": null,
"showFloorComment": null,
"status": 0,
"commentId": 1438569889,
"content": "和他谈了7个月 一直放不下却的是你 却最不敢见的也是你 我很渣吧 现在距离高考66天 班上贴出了全省统考的我们学校的年级成绩 却只有年级前60名 我在30名啊 我500多分呐 看 我过得很好 你能不能加油 这是你喜欢的歌 是你在全民毁了以后被第\n一个发个我听的 加油好不好 做陌生人我也想你好好的 [爱心]",
"richContent": null,
"contentResource": null,
"time": 1554169671870,
"timeStr": "2019-04-02",
"needDisplayTime": true,
"likedCount": 5,
"expressionUrl": null,
"commentLocationType": 0,
"parentCommentId": 0,
"decoration": {},
"repliedMark": null,
"grade": null,
"userBizLevels": null,
"ipLocation": {
"ip": null,
"location": "",
"userId": null
},
"owner": false,
"liked": false
},
"currentComment": null,
"comments": [
{
"user": {
"locationInfo": null,
"liveInfo": null,
"anonym": 0,
"commonIdentity": null,
"avatarDetail": null,
"userType": 0,
"avatarUrl": "http://p1.music.126.net/q6yzWeuorig8zDXSLcZ_wg==/109951163437480455.jpg",
"followed": false,
"mutual": false,
"remarkName": null,
"socialUserId": null,
"vipRights": {
"associator": null,
"musicPackage": null,
"redplus": null,
"redVipAnnualCount": -1,
"redVipLevel": 0
},
"nickname": "_许小小",
"authStatus": 0,
"expertTags": null,
"experts": null,
"vipType": 0,
"userId": 451702409,
"target": null
},
"beReplied": [
{
"user": {
"locationInfo": null,
"liveInfo": null,
"anonym": 0,
"commonIdentity": null,
"avatarDetail": null,
"userType": 0,
"avatarUrl": "http://p2.music.126.net/2bR3HDoZWhN2J9omtHcvqw==/109951164495848405.jpg",
"followed": false,
"mutual": false,
"remarkName": null,
"socialUserId": null,
"vipRights": null,
"nickname": "patolemotanuoo",
"authStatus": 0,
"expertTags": null,
"experts": null,
"vipType": 0,
"userId": 1813983337,
"target": null
},
"beRepliedCommentId": 1441287318,
"content": null,
"richContent": null,
"status": -5,
"expressionUrl": null,
"ipLocation": {
"ip": null,
"location": "",
"userId": null
}
}
],
"pendantData": null,
"showFloorComment": null,
"status": 0,
"commentId": 1443217681,
"content": "可能不喜欢之前的他 因为对他可能只是习惯 后来和我现在这个在一起了之后发现从今往后可能没人再比之前那个他在乎我了 陌生人 要好好珍惜那个对你很好很好的人哦 [可爱]",
"richContent": null,
"contentResource": null,
"time": 1554538455769,
"timeStr": "2019-04-06",
"needDisplayTime": true,
"likedCount": 1,
"expressionUrl": null,
"commentLocationType": 0,
"parentCommentId": 1438569889,
"decoration": {},
"repliedMark": null,
"grade": null,
"userBizLevels": null,
"ipLocation": {
"ip": null,
"location": "",
"userId": null
},
"owner": false,
"liked": false
},
{
"user": {
"locationInfo": null,
"liveInfo": null,
"anonym": 0,
"commonIdentity": null,
"avatarDetail": null,
"userType": 0,
"avatarUrl": "http://p1.music.126.net/q6yzWeuorig8zDXSLcZ_wg==/109951163437480455.jpg",
"followed": false,
"mutual": false,
"remarkName": null,
"socialUserId": null,
"vipRights": {
"associator": null,
"musicPackage": null,
"redplus": null,
"redVipAnnualCount": -1,
"redVipLevel": 0
},
"nickname": "_许小小",
"authStatus": 0,
"expertTags": null,
"experts": null,
"vipType": 0,
"userId": 451702409,
"target": null
},
"beReplied": [
{
"user": {
"locationInfo": null,
"liveInfo": null,
"anonym": 0,
"commonIdentity": null,
"avatarDetail": null,
"userType": 0,
"avatarUrl": "http://p2.music.126.net/q6yzWeuorig8zDXSLcZ_wg==/109951163437480455.jpg",
"followed": false,
"mutual": false,
"remarkName": null,
"socialUserId": null,
"vipRights": null,
"nickname": "_许小小",
"authStatus": 0,
"expertTags": null,
"experts": null,
"vipType": 0,
"userId": 451702409,
"target": null
},
"beRepliedCommentId": 1438569889,
"content": "和他谈了7个月 一直放不下却的是你 却最不敢见的也是你 我很渣吧 现在距离高考66天 班上贴出了全省统考的我们学校的年级成绩 却只有年级前60名 我在30名啊 我500多分呐 看 我过得很好 你能不能加油 这是你喜欢的歌 是你在全民毁了以后被第\n一个发个我听的 加油好不好 做陌生人我也想你好好的 [爱心]",
"richContent": null,
"status": 0,
"expressionUrl": null,
"ipLocation": {
"ip": null,
"location": "",
"userId": null
}
}
],
"pendantData": null,
"showFloorComment": null,
"status": 0,
"commentId": 3412076105,
"content": "后来 我们的第一志愿一样(没有联系过) 只是他没有录取上 军训期间 开始有一些联系 现在升大二了 偶尔一起打游戏",
"richContent": null,
"contentResource": null,
"time": 1596937263846,
"timeStr": "2020-08-09",
"needDisplayTime": true,
"likedCount": 0,
"expressionUrl": null,
"commentLocationType": 0,
"parentCommentId": 1438569889,
"decoration": {},
"repliedMark": null,
"grade": null,
"userBizLevels": null,
"ipLocation": {
"ip": null,
"location": "",
"userId": null
},
"owner": false,
"liked": false
}
],
"hasMore": false,
"totalCount": 2,
"time": 1596937263846,
"bestComments": []
}
}
修改于 将近 2 年前