1 Star 0 Fork 0

arzn / plus-component-music

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
special-comment-list.md 1.79 KB
一键复制 编辑 原始数据 按行查看 历史
白石 提交于 2017-04-24 09:29 . 修改文件名改为英文文件

专辑评论列表

接口地址

/api/v1/music/special/{special_id}/comment

请求方法

GET

请求字段

name type must description
max_id int no 用来翻页的记录id(对应数据体里的id)
limit int no 每页返回数据条数 默认15条

HTTP Status Code

200

返回体

{
  "status": true,
  "code": 0,
  "message": "操作成功",
  "data": [
    {
      "id": 4,
      "created_at": "2017-03-15 07:56:22",
      "updated_at": "2017-03-15 07:56:22",
      "comment_content": "213123",
      "user_id": 1,
      "reply_to_user_id": 0,
      "music_id": 1,
      "special_id": 0
    },
    {
      "id": 3,
      "created_at": "2017-03-15 07:43:43",
      "updated_at": "2017-03-15 07:43:43",
      "comment_content": "213123",
      "user_id": 1,
      "reply_to_user_id": 0,
      "music_id": 0,
      "special_id": 1
    },
    {
      "id": 2,
      "created_at": "2017-03-15 07:43:22",
      "updated_at": "2017-03-15 07:43:22",
      "comment_content": "213123",
      "user_id": 1,
      "reply_to_user_id": 0,
      "music_id": 1,
      "special_id": 0
    },
    {
      "id": 1,
      "created_at": "2017-03-15 07:43:07",
      "updated_at": "2017-03-15 07:43:07",
      "comment_content": "213123",
      "user_id": 1,
      "reply_to_user_id": 0,
      "music_id": 1,
      "special_id": 0
    }
  ]
}

返回字段

name type must description
id string yes 评论id
created_at string yes 评论时间
comment_content string yes 评论内容
user_id int yes 评论者id
reply_to_user_id int yes 被回复者id
1
https://gitee.com/joysapp/plus-component-music.git
git@gitee.com:joysapp/plus-component-music.git
joysapp
plus-component-music
plus-component-music
master

搜索帮助