用户信息

请求URL:

  • /userInfo

请求方式:

  • POST

参数:

参数名 必选 类型 说明
无 无 无 无

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "appId": "8e7351e-10cfda-aichat-aishmin-ios",
        "appType": 2,
        "avatar": "aiChat/avatar/kiko-avatar.png",
        "totalBalance": 0,
        "balance": 0,
        "token": 100,
        "frozenBalance": 0,
        "id": 203,
        "nickname": "Kestrel",
        "udid": "test",
        "withdrawals": 0,
        "newGuide": false
        "canWithdraw": false
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据体
-id int 用户ID
-appId string 应用ID
-totalBalance int 用户累计可提现余额
-balance int 用户可提现余额
-token int 代币数
-frozenBalance int 冻结余额
-nickname string 用户昵称
-avatar string 用户头像
-withdrawals string 申请提现次数
-newGuide bool 是否新手引导
-canWithdraw bool 是否可以提现

备注

type类型:

10 物品折现

20 余额提现

30 提现冻结

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2026-10-20 11:29:30

results matching ""

    No results matching ""