点赞列表
GET
/star/list修改时间: 2 年前
责任人:
请求参数
Query 参数
nowPage
string
可选
示例值:
1
pageSize
string
可选
示例值:
5
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
data
object
必需
nowPage
integer
必需
pageSize
integer
必需
hasMore
boolean
必需
count
integer
必需
rows
array [object {12}]
必需
message
string
必需
示例成功示例
{
"code": 200,
"data": {
"nowPage": 1,
"pageSize": 5,
"hasMore": false,
"count": 3,
"rows": [
{
"id": 1,
"article_id": -1,
"comment_id": 6,
"from_user_id": 9,
"to_user_id": 8,
"created_at": "2022-03-23 19:29:53",
"updated_at": "2022-03-23 19:29:53",
"deleted_at": null,
"from_user": {
"id": 9,
"username": "qq_一只小小石",
"status": 1,
"avatar": "http://qzapp.qlogo.cn/qzapp/101958191/1A328E9629049415DFE09F20ACA57C5D/100",
"title": "这个人很懒,什么也没有留下",
"created_at": "2022-03-23 19:29:24",
"updated_at": "2022-03-23 19:29:24",
"deleted_at": null
},
"to_user": {
"id": 8,
"username": "qq_丿丿",
"status": 1,
"avatar": "http://qzapp.qlogo.cn/qzapp/101958191/F36FAF5E1127103A56471203355C90CE/100",
"title": "这个人很懒,什么也没有留下",
"created_at": "2022-03-21 11:17:25",
"updated_at": "2022-03-21 11:17:25",
"deleted_at": null
},
"article": null,
"comment": {
"id": 6,
"article_id": -1,
"parent_comment_id": -1,
"reply_comment_id": -1,
"from_user_id": 8,
"to_user_id": -1,
"content": "# 傻逼黄鹏 早上好!",
"children_comment_total": 0,
"star_total": 2,
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36",
"ip": "117.89.6.242",
"ip_data": "{\"status\":\"1\",\"info\":\"OK\",\"infocode\":\"10000\",\"country\":\"中国\",\"province\":\"江苏省\",\"city\":\"南京市\",\"isp\":\"电信\",\"location\":\"118.767415,32.041548\",\"ip\":\"117.89.6.242\"}",
"created_at": "2022-03-21 11:17:41",
"updated_at": "2022-03-21 11:17:41",
"deleted_at": null
}
},
{
"id": 2,
"article_id": -1,
"comment_id": 7,
"from_user_id": 1,
"to_user_id": 9,
"created_at": "2022-03-23 19:33:35",
"updated_at": "2022-03-23 19:33:35",
"deleted_at": null,
"from_user": {
"id": 1,
"username": "qq_顺其自然丶 ",
"status": 1,
"avatar": "http://qzapp.qlogo.cn/qzapp/101958191/A6FF2854B1696DCA6FCB26E8889DB093/100",
"title": "这个人很懒,什么也没有留下",
"created_at": "2022-02-13 21:16:50",
"updated_at": "2022-03-23 19:34:36",
"deleted_at": null
},
"to_user": {
"id": 9,
"username": "qq_一只小小石",
"status": 1,
"avatar": "http://qzapp.qlogo.cn/qzapp/101958191/1A328E9629049415DFE09F20ACA57C5D/100",
"title": "这个人很懒,什么也没有留下",
"created_at": "2022-03-23 19:29:24",
"updated_at": "2022-03-23 19:29:24",
"deleted_at": null
},
"article": null,
"comment": {
"id": 7,
"article_id": -1,
"parent_comment_id": -1,
"reply_comment_id": -1,
"from_user_id": 9,
"to_user_id": -1,
"content": "## 我来看黄鹏笑话\n> 顺便点个赞",
"children_comment_total": 0,
"star_total": 1,
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36",
"ip": "111.0.127.195",
"ip_data": "{\"status\":\"1\",\"info\":\"OK\",\"infocode\":\"10000\",\"province\":\"浙江省\",\"city\":\"杭州市\",\"adcode\":\"330100\",\"rectangle\":\"119.8824799,29.95931271;120.5552208,30.52048536\",\"ip\":\"111.0.127.195\"}",
"created_at": "2022-03-23 19:30:24",
"updated_at": "2022-03-23 19:30:24",
"deleted_at": null
}
},
{
"id": 3,
"article_id": -1,
"comment_id": 6,
"from_user_id": 1,
"to_user_id": 8,
"created_at": "2022-03-23 19:33:38",
"updated_at": "2022-03-23 19:33:38",
"deleted_at": null,
"from_user": {
"id": 1,
"username": "qq_顺其自然丶 ",
"status": 1,
"avatar": "http://qzapp.qlogo.cn/qzapp/101958191/A6FF2854B1696DCA6FCB26E8889DB093/100",
"title": "这个人很懒,什么也没有留下",
"created_at": "2022-02-13 21:16:50",
"updated_at": "2022-03-23 19:34:36",
"deleted_at": null
},
"to_user": {
"id": 8,
"username": "qq_丿丿",
"status": 1,
"avatar": "http://qzapp.qlogo.cn/qzapp/101958191/F36FAF5E1127103A56471203355C90CE/100",
"title": "这个人很懒,什么也没有留下",
"created_at": "2022-03-21 11:17:25",
"updated_at": "2022-03-21 11:17:25",
"deleted_at": null
},
"article": null,
"comment": {
"id": 6,
"article_id": -1,
"parent_comment_id": -1,
"reply_comment_id": -1,
"from_user_id": 8,
"to_user_id": -1,
"content": "# 傻逼黄鹏 早上好!",
"children_comment_total": 0,
"star_total": 2,
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36",
"ip": "117.89.6.242",
"ip_data": "{\"status\":\"1\",\"info\":\"OK\",\"infocode\":\"10000\",\"country\":\"中国\",\"province\":\"江苏省\",\"city\":\"南京市\",\"isp\":\"电信\",\"location\":\"118.767415,32.041548\",\"ip\":\"117.89.6.242\"}",
"created_at": "2022-03-21 11:17:41",
"updated_at": "2022-03-21 11:17:41",
"deleted_at": null
}
}
]
},
"message": "获取成功!"
}
修改于 2 年前