获取用户信息

请求URL:

  • /getUserInfo

请求方式:

  • POST

参数:

参数名 必选 类型 说明

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "accessToken": "36b8fcf01558cbea6acde07aae67a2f9",
        "bornCity": "金陵",
        "bornCountry": "华夏",
        "bornDate": "2001-08-08",
        "bornTime": "20:08",
        "isVip": 1,
        "nickname": "幕言卿",
        "role": 0,
        "userID": "A10000000"
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据
-userID string 用户ID
-nickname string 昵称
-bornDate string 出生年月日
-bornTime string 出生时分
-bornCountry string 出生国度
-bornCity string 出生城市
-isVip string 是否VIP
-role uint8 角色信息:0-正常用户;7-审核员

备注

错误码 510 系统错误

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-08-28 11:11:46

results matching ""

    No results matching ""