Skip to content
关注公众号,获取新课通知

获取指定用户的评论列表

接口URL

https://sqapi2.dishawang.com/api/v1/user/:user_id/comment/:page

请求方式

GET

Content-Type

form-data

路径变量

参数名示例值参数描述
user_id7用户ID
page1页码

成功响应示例

json
{
  "code": 1,
  "msg": "ok",
  "data": {
    "total": 84,
    "per_page": 10,
    "current_page": 1,
    "last_page": 9,
    "data": [
      {
        "id": 2733,
        "article_id": 1773,
        "user_id": 7,
        "reply_count": 0,
        "content": "哈哈哈",
        "quote": null,
        "create_time": "2024-04-07 01:20:12",
        "avatar": "http://sqapi2.dishawang.com/storage/uploads/a48a12a09a6654712f2d430d02dbc572.jpeg",
        "name": "哈哈哈",
        "article_cover": null,
        "article_title": "帖子已被删除"
      },
      {
        "id": 2732,
        "article_id": 1774,
        "user_id": 7,
        "reply_count": 0,
        "content": "哈哈哈",
        "quote": null,
        "create_time": "2024-04-07 01:20:03",
        "avatar": "http://sqapi2.dishawang.com/storage/uploads/a48a12a09a6654712f2d430d02dbc572.jpeg",
        "name": "哈哈哈",
        "article_cover": "http://demo-mp3.oss-cn-shenzhen.aliyuncs.com/egg-edu-demo/5cb264268d50e7ebbc16.png",
        "article_title": "往期精品课程:《Vue3实战商城后台管理系统开发》\n基于Vue3 + ElementPlus + Vite实战开发商城后台管理系统,其中包括Vite的使用,Vue3全新的 ..."
      },
      {
        "id": 2713,
        "article_id": 1772,
        "user_id": 7,
        "reply_count": 0,
        "content": "lala",
        "quote": null,
        "create_time": "2024-02-01 22:31:38",
        "avatar": "http://sqapi2.dishawang.com/storage/uploads/a48a12a09a6654712f2d430d02dbc572.jpeg",
        "name": "哈哈哈",
        "article_cover": "https://tangzhe123-com.oss-cn-shenzhen.aliyuncs.com/Appstatic/qsbk/demo/datapic2/2a1a5db1daab4b888a342a5b899fc69d_1031736698.png",
        "article_title": "往期经典:《uni-app实战在线教育类app开发》\n课程包括:图文,音频,视频,电子书、会员、直播、问答、考试、拼团秒杀、优惠券。一次开发,同时搞定Android、iOS、微信小程序、H5端。\n"
      },
      {
        "id": 2712,
        "article_id": 1772,
        "user_id": 7,
        "reply_count": 2,
        "content": "cai cai",
        "quote": null,
        "create_time": "2024-02-01 22:31:27",
        "avatar": "http://sqapi2.dishawang.com/storage/uploads/a48a12a09a6654712f2d430d02dbc572.jpeg",
        "name": "哈哈哈",
        "article_cover": "https://tangzhe123-com.oss-cn-shenzhen.aliyuncs.com/Appstatic/qsbk/demo/datapic2/2a1a5db1daab4b888a342a5b899fc69d_1031736698.png",
        "article_title": "往期经典:《uni-app实战在线教育类app开发》\n课程包括:图文,音频,视频,电子书、会员、直播、问答、考试、拼团秒杀、优惠券。一次开发,同时搞定Android、iOS、微信小程序、H5端。\n"
      },
      {
        "id": 2701,
        "article_id": 1773,
        "user_id": 7,
        "reply_count": 1,
        "content": "133",
        "quote": null,
        "create_time": "2024-01-17 18:43:23",
        "avatar": "http://sqapi2.dishawang.com/storage/uploads/a48a12a09a6654712f2d430d02dbc572.jpeg",
        "name": "哈哈哈",
        "article_cover": null,
        "article_title": "帖子已被删除"
      },
      {
        "id": 2693,
        "article_id": 1776,
        "user_id": 7,
        "reply_count": 0,
        "content": "123",
        "quote": null,
        "create_time": "2024-01-17 18:05:29",
        "avatar": "http://sqapi2.dishawang.com/storage/uploads/a48a12a09a6654712f2d430d02dbc572.jpeg",
        "name": "哈哈哈",
        "article_cover": null,
        "article_title": "帖子已被删除"
      },
      {
        "id": 2692,
        "article_id": 1776,
        "user_id": 7,
        "reply_count": 3,
        "content": "123",
        "quote": null,
        "create_time": "2024-01-17 18:04:55",
        "avatar": "http://sqapi2.dishawang.com/storage/uploads/a48a12a09a6654712f2d430d02dbc572.jpeg",
        "name": "哈哈哈",
        "article_cover": null,
        "article_title": "帖子已被删除"
      },
      {
        "id": 2691,
        "article_id": 1776,
        "user_id": 7,
        "reply_count": 0,
        "content": "123",
        "quote": null,
        "create_time": "2024-01-17 18:04:49",
        "avatar": "http://sqapi2.dishawang.com/storage/uploads/a48a12a09a6654712f2d430d02dbc572.jpeg",
        "name": "哈哈哈",
        "article_cover": null,
        "article_title": "帖子已被删除"
      },
      {
        "id": 2690,
        "article_id": 1776,
        "user_id": 7,
        "reply_count": 5,
        "content": "123",
        "quote": null,
        "create_time": "2024-01-17 18:04:43",
        "avatar": "http://sqapi2.dishawang.com/storage/uploads/a48a12a09a6654712f2d430d02dbc572.jpeg",
        "name": "哈哈哈",
        "article_cover": null,
        "article_title": "帖子已被删除"
      },
      {
        "id": 2689,
        "article_id": 1776,
        "user_id": 7,
        "reply_count": 0,
        "content": "12356",
        "quote": null,
        "create_time": "2024-01-17 18:02:31",
        "avatar": "http://sqapi2.dishawang.com/storage/uploads/a48a12a09a6654712f2d430d02dbc572.jpeg",
        "name": "哈哈哈",
        "article_cover": null,
        "article_title": "帖子已被删除"
      }
    ]
  }
}