最新评论列表

请求方法:GET

请求地址:/article/comment/latest

请求参数:limit:数量,非必传,默认5

需要access_token:

需要管理员权限:

获取成功:

{
  "code": 0,
  "message": "成功",
  "data": [
    {
      "id": 1,
      "content": "测试",
      "commentTime": "2020-01-05 12:52:16",
      "article": {
        "id": 1,
        "title": "标题"
      },
      "fromUser": {
        "id": 1,
        "nickname": "小管家",
        "avatar": "https://poile-img.nos-eastchina1.126.net/me.png",
        "admin": 1
      },
      "replyList": []
    }
  ]
}

results matching ""

    No results matching ""