简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2024-08-06

请求URL:

请求方式:

  • GET

请求头:

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

请求参数:

参数名 是否必须 类型 说明
page int 页码
pagesize int 条数

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "list": [
            {
                "uid": 8,
                "avatar": "https://wzbup.com/user/avatar/2023/05/31/6476e9a498dbc.png",
                "nickname": "A",
                "male": "女",
                "height": "175cm",
                "career": "程序员",
                "type": 1,
                "content": "今天天气不错23123",
                "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": "深圳",
                "cover": "http://wzb.com/uploads/idCard/2019-12-25/5e02d682785c9.jpg",
                "created_at": "22天前",
                "constellation": "巨蟹座",
                "age": 32,
                "follow_status": true
            }
        ],
        "page": 1,
        "pagesize": "1",
        "total": 2
    }
}

错误时返回:

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

返回参数说明:

参数名 类型 说明
uid string 用户uid
avatar string 用户头像
nickname string 用户昵称
male string 性别 男女
height string 身高
career string 职业
constellation string 星座
age string 年龄
follow_status string 关注状态【true=已关注,false=未关注】
type string 1=图片 2=视频
content string 动态内容
imgs array 图片列表或者视频
address string dz
cover string 视频封面,如果视频要显示图片可能使用这个
created_at string 动态时间

备注:

作者:admin  创建时间:2024-08-06 16:41
最后编辑:admin  更新时间:2025-04-10 15:43
上一篇:
下一篇: