网络智能体-加载评论:响应
响应
- 响应样例
{"success": true,"returnData": {"page": {"currentPageNum": 1,"lastPageNum": 1,"totalPageNum": 1,"startRowIndex": 0,"gotoPageNum": 0,"pageSize": 10,"recordCount": 9},"dataList": [{"id": "107","tenantId": "051fb6cf4c00d33d0f85c","tenantName": "softcomai_43243_03","userId": "061a1ebe4200d36c1ff7c","userName": "jack","datasetId": "5726551366","commentTime": "2020-05-11 15:05:33","commentLevel": 5,"extollmentCount": 1,"content": "分页测试3","couldDel": 0,"extollmentUsers": "[{\"userId\":\"06e78bdcf400d4811f68\",\"tenantId\":\"04f4a7cd8800d2470f14c\",\"extollmentFlag\":-1},{\"userId\":\"061a1ebe4200d36c1ff7\",\"tenantId\":\"051fb6cf4c00d33d0f85c\",\"extollmentFlag\":1}]","isExtollmented": 0}]}}
- 要素说明
参数名
参数类型
备注
success
String
请求是否成功。
returnData
JSON
返回体。
page
JSON
分页相关项。
dataList
List
数据集列表。
id
String
评论ID。
tenantId
String
租户ID。
tenantName
String
租户名。
userId
String
用户ID。
userName
String
用户名。
datasetId
String
数据集ID。
commentLevel
String
评论等级,取值范围是1~5。
commentTime
String
评论时间。
extollmentCount
Integer
点赞数量。
content
text
评论内容。
extollmentUsers
String
json格式的字符串,表示点赞用户记录。取值包括如下:
- 1:点赞。
- -1:点赞后取消点赞。
isExtollmented
Integer
当前用户是否对该条评论点赞,取值包括:
- 0:未点赞。
- 1:点赞。
- -1:取消点赞。
couldDel
Integer
当前用户是否有权限删除评论。