简要描述:

  • 接口版本:

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

请求URL:

请求方式:

  • GET

请求头:

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

请求参数:

参数名 是否必须 类型 说明
page int 页码
pagesize int 条数
address_area string 定位,省市区【广东省 深圳市 龙岗区】,空格隔开,用户有传使用,未传读取定位设置的
username string 用户名或者手机号

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "list": [
            {
                "uid": 8,
                "avatar": "https://wzbup.com/user/avatar/2023/05/31/6476e9a498dbc.png",
                "nickname": "A",
                "real_name_status": 1,
                "real_name_status_msg": "已认证",
                "thoughts_on_making_friends": "哈哈哈哈",
                "height": "175cm",
                "career": "程序员",
                "constellation": "巨蟹座",
                "matching_degree": "66%",
                "age": "32岁",
                "follow_status": false
            },
            {
                "uid": 10,
                "avatar": "https://wzbup.com/user/avatar/2023/05/31/6476e9a498dbc.png",
                "nickname": "david",
                "real_name_status": 1,
                "real_name_status_msg": "已认证",
                "thoughts_on_making_friends": "真心交友",
                "height": "170cm",
                "career": "前台",
                "constellation": "巨蟹座",
                "matching_degree": "40%",
                "age": "26岁",
                "follow_status": true
            }
        ],
        "page": 1,
        "pagesize": 10,
        "total": 2
    }
}

错误时返回:

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

返回参数说明:

参数名 类型 说明
uid string 用户uid
avatar string 用户头像
nickname string 用户昵称
real_name_status string 实名认证状态【0=审核中 1=认证通过 2=认证不通过】
real_name_status_msg string 认证提示
thoughts_on_making_friends string 交友心声
height string 身高
career string 职业
constellation string 星座
matching_degree string 匹配度
age string 年龄
follow_status string 关注状态【true=已关注,false=未关注】

备注:

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