获取评论列表

欢迎使用ShowDoc!

简要描述
  • 用户注册接口
请求URL
  • http://xx.com/supreme/comment/control/get/comment/list
请求方式
  • Get
参数
参数名 必选 类型 说明
userID int 用户ID
referID int 查询ID
startIndex int 起始坐标
endIndex int 终止坐标
classType int 查询类型,1潮流导购评论举报,2突发新闻评论,3用户话题动态,4资讯文章,5背面女郎,6商品详情,7匿名爆料,8品牌事件,9回答详情,
type int 0普通评论,1热门评论
返回示例
{
    "code": 200,
    "data": [
        {
            "commentID": 2,
            "replyID": 0,
            "userID": 36100468,
            "nickname": "小小(>^ω^<)喵",
            "portraitUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_Z4oR.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "lineColor": "#0F0F0F&&#FFFFFF&&#CA2C54",
            "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImg/badge_0_YDxM.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "parentID": 0,
            "content": "变心是本能,忠诚是选择,很开心你能来,不遗憾你走开,不能相濡以沫,那就相忘于江湖,从此,一别两宽,各生欢喜。",
            "status": 0,
            "url": [],
            "publishTime": 1617787803000,
            "color": "#B500D0",
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "author": 0,
            "hotIcon": "",
            "replyUserID": 0,
            "replynNickname": "",
            "level": 0,
            "replyPortraitUrl": ""
        },
        {
            "commentID": 2,
            "replyID": 4,
            "userID": 36100468,
            "nickname": "小小(>^ω^<)喵",
            "portraitUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_Z4oR.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "lineColor": "#0F0F0F&&#FFFFFF&&#CA2C54",
            "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImg/badge_0_YDxM.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "parentID": 0,
            "content": "人生最快乐的事,不是违法的,就是违反道德的;不是容易发胖的,就是容易生病的。",
            "status": 0,
            "url": [],
            "publishTime": 1617788143000,
            "color": "#B500D0",
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "author": 0,
            "hotIcon": "",
            "replyUserID": 0,
            "replynNickname": "",
            "level": 1,
            "replyPortraitUrl": ""
        },
        {
            "commentID": 2,
            "replyID": 5,
            "userID": 36100468,
            "nickname": "小小(>^ω^<)喵",
            "portraitUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_Z4oR.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "lineColor": "#0F0F0F&&#FFFFFF&&#CA2C54",
            "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImg/badge_0_YDxM.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "parentID": 4,
            "content": "人生最快乐的事,不是违法的,就是违反道德的;不是容易发胖的,就是容易生病的。",
            "status": 0,
            "url": [],
            "publishTime": 1617788143000,
            "color": "#B500D0",
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "author": 0,
            "hotIcon": "",
            "replyUserID": 36100468,
            "replynNickname": "小小(>^ω^<)喵",
            "level": 2,
            "replyPortraitUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_Z4oR.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit"
        },
        {
            "commentID": 1,
            "replyID": 0,
            "userID": 11254738,
            "nickname": "恒大华府人123",
            "portraitUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_HjiU.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "lineColor": "#0F0F0F&&#FFFFFF&&#F3843C",
            "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImg/badge_0_YDxM.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "parentID": 0,
            "content": "【泡芙的由来】农场主女儿与放牧小伙子相恋,遭到了父亲反对。农场主说如果他们能把牛奶装到蛋里面,就让他们在一起。后来这对情侣做出了外表和鸡蛋壳一样酥脆,里面是结了冻的牛奶的点心,点心得到了父亲认可。小伙子名字第一个发音是泡,姑娘名字最后一个发音是芙,这点心就名为泡芙。",
            "status": 0,
            "url": [
                "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/commentImg/comment_0_6tNu.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit"
            ],
            "publishTime": 1615629550000,
            "color": "#B500D0",
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "author": 0,
            "hotIcon": "",
            "replyUserID": 0,
            "replynNickname": "",
            "level": 0,
            "replyPortraitUrl": ""
        },
        {
            "commentID": 1,
            "replyID": 1,
            "userID": 36100468,
            "nickname": "小小(>^ω^<)喵",
            "portraitUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_Z4oR.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "lineColor": "#0F0F0F&&#FFFFFF&&#CA2C54",
            "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImg/badge_0_YDxM.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "parentID": 0,
            "content": "一天上课,同桌偷偷玩手机,正好被在教室外面巡视的班主任发现。班主任掏出自己的手机,发了条信息:你怎么不认真听课?同桌疑惑地回复道:你是谁?班主任又发了一条:你看窗外。同桌看了一眼窗外回复:多谢提醒,等会儿聊,我们班主任在窗外盯着呢!",
            "status": 0,
            "url": [
                "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/commentImg/comment_0_u7xd.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit"
            ],
            "publishTime": 1615629749000,
            "color": "#B500D0",
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "author": 0,
            "hotIcon": "",
            "replyUserID": 0,
            "replynNickname": "",
            "level": 1,
            "replyPortraitUrl": ""
        },
        {
            "commentID": 1,
            "replyID": 2,
            "userID": 36100468,
            "nickname": "小小(>^ω^<)喵",
            "portraitUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_Z4oR.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "lineColor": "#0F0F0F&&#FFFFFF&&#CA2C54",
            "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImg/badge_0_YDxM.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "parentID": 1,
            "content": "一个漂亮的mm上了公交车,掏出一张卡刷卡,只听滴的一声。。。。老年卡!全车人都惊呆了,都看这她,那MM不满的说,看什么看,没看过天山童姥吗?",
            "status": 0,
            "url": [
                "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/commentImg/comment_0_Ht4g.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit"
            ],
            "publishTime": 1617787947000,
            "color": "#B500D0",
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "author": 0,
            "hotIcon": "",
            "replyUserID": 36100468,
            "replynNickname": "小小(>^ω^<)喵",
            "level": 2,
            "replyPortraitUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_Z4oR.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit"
        },
        {
            "commentID": 1,
            "replyID": 3,
            "userID": 36100468,
            "nickname": "小小(>^ω^<)喵",
            "portraitUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_Z4oR.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "lineColor": "#0F0F0F&&#FFFFFF&&#CA2C54",
            "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImg/badge_0_YDxM.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
            "parentID": 2,
            "content": "人生最快乐的事,不是违法的,就是违反道德的;不是容易发胖的,就是容易生病的。",
            "status": 0,
            "url": [],
            "publishTime": 1617788143000,
            "color": "#B500D0",
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "author": 0,
            "hotIcon": "",
            "replyUserID": 36100468,
            "replynNickname": "小小(>^ω^<)喵",
            "level": 3,
            "replyPortraitUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_Z4oR.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit"
        }
    ],
    "message": "请求成功"
}
返回参数说明
参数名 类型 说明
备注
  • 更多返回错误代码请看首页的错误代码描述