简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2024-07-19

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string token参数

请求参数:

参数名 是否必须 类型 说明
id int 动态id

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "uid": 8,
        "avatar": "https://wzbup.com/user/avatar/2023/05/31/6476e9a498dbc.png",
        "nickname": "A",
        "id": 4,
        "content": "今天天气不错23123",
        "type": 1,
        "imgs": [
            "http://wzb.com/uploads/idCard/2019-12-25/5e02d682785c9.jpg",
            "http://wzb.com/uploads/idCard/2019-12-25/5e02d682b2a5a.jpg",
            "http://wzb.com/uploads/idCard/2020-01-04/5e0ffd4c53f6d.png"
        ],
        "address": "深圳",
        "read_num": 0,
        "comment_num": 0,
        "points_num": 0,
        "created_at": "1天前",
        "cover": "",
        "age": "32岁",
        "constellation": "巨蟹座",
        "height": "175cm",
        "career": "程序员",
        "follow_status": true,
        "point_status": true
    }
}

错误时返回:

{
    "status": 0,
    "msg": "参数错误"
}

返回参数说明:

参数名 类型 说明
uid string 用户uid
avatar string 用户头像
nickname string 用户昵称
id int 动态id
type string 类型【1=图片,2=视频】
content string 内容
imgs array 图片列表
address string 定位地址
age string 年龄
created_at string 时间
cover string 视频封面
height string 身高
career string 职业
constellation string 星座
read_num string 浏览数量
comment_num string 评论数量
points_num string 点赞数量
follow_status string 是否关注【true=已关注,false=未关注】
point_status string 是否点赞【true=已点赞,false=未点赞】

备注:

作者:admin  创建时间:2024-07-19 11:27
 更新时间:2025-04-10 15:43