获取回答列表

简要描述
  • 获取回答列表
请求URL
  • http://xx.com/supreme/user/question/list
请求方式
  • GET
参数
参数名 必选 类型 说明
userID int 用户ID
startIndex int 起始位置
endIndex int 终止位置
answerID int 问题ID
返回示例
{
    "code": 200,
    "data": [
        {
            "questionID": 9,
            "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",
            "answerID": 16,
            "content": "李世民令李靖统兵10万,出师塞北,挑战东突厥在东亚的霸主地位。唐军在李靖的调遣下,灭亡东突厥,分道出击突厥。李靖出奇制胜,在定襄大败突厥,颉利逃窜,李在白道截击,降其部众五万余人。唐军两将又督兵疾进,大破突厥军,颉利西逃吐谷浑,途中被俘。战后,各族在回纥以南、突厥以北建立了一条“参天可汗道”,“置六十八驿,各有马及酒肉,以供过使”。从此以后,“以玺书赐西域、北荒之君长,皆称‘皇帝天可汗’。",
            "commentCount": 0,
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "createTime": 1617876095000
        },
        {
            "questionID": 8,
            "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",
            "answerID": 16,
            "content": "李世民令李靖统兵10万,出师塞北,挑战东突厥在东亚的霸主地位。唐军在李靖的调遣下,灭亡东突厥,分道出击突厥。李靖出奇制胜,在定襄大败突厥,颉利逃窜,李在白道截击,降其部众五万余人。唐军两将又督兵疾进,大破突厥军,颉利西逃吐谷浑,途中被俘。战后,各族在回纥以南、突厥以北建立了一条“参天可汗道”,“置六十八驿,各有马及酒肉,以供过使”。从此以后,“以玺书赐西域、北荒之君长,皆称‘皇帝天可汗’。",
            "commentCount": 0,
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "createTime": 1617875831000
        },
        {
            "questionID": 7,
            "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",
            "answerID": 16,
            "content": "李世民令李靖统兵10万,出师塞北,挑战东突厥在东亚的霸主地位。唐军在李靖的调遣下,灭亡东突厥,分道出击突厥。李靖出奇制胜,在定襄大败突厥,颉利逃窜,李在白道截击,降其部众五万余人。唐军两将又督兵疾进,大破突厥军,颉利西逃吐谷浑,途中被俘。战后,各族在回纥以南、突厥以北建立了一条“参天可汗道”,“置六十八驿,各有马及酒肉,以供过使”。从此以后,“以玺书赐西域、北荒之君长,皆称‘皇帝天可汗’。",
            "commentCount": 0,
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "createTime": 1617875533000
        },
        {
            "questionID": 6,
            "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",
            "answerID": 16,
            "content": "",
            "commentCount": 0,
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "createTime": 1617875496000
        },
        {
            "questionID": 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",
            "answerID": 16,
            "content": "",
            "commentCount": 1,
            "likeCount": 0,
            "stepCount": 0,
            "likeStatus": 0,
            "createTime": 1617848624000
        }
    ],
    "message": "请求成功"
}
返回参数说明
参数名 类型 说明
questionID int 回答ID
userID int 用户ID
nickname string 昵称
portraitUrl string 头像
answerID int 问题ID
content string 回答内容
commentCount int 评论数
likeCount int 点赞数
stepCount int 踩数
likeStatus int 0未点赞,1赞,2踩
备注
  • 更多返回错误代码请看首页的错误代码描述

欢迎使用ShowDoc!