---
title: "H5页面获取用户信息"
method: GET
path: "/user/info/h5/getUser"
tags: ["用户信息接口"]
---

# H5页面获取用户信息

`GET /user/info/h5/getUser`

## Request

- Base URL: `http://api.oloo.live`
- URL: `http://api.oloo.live/user/info/h5/getUser`
- Auth: none declared

根据uid获取该用户信息

## Query parameters

- `uid` integer, required

## Response `200`

success

- UserInfoVO
  - `uid` integer
  - `appNo` string
  - `birth` string, date-time
  - `nick` string
  - `defUser` integer
  - `gender` integer: 性别 1 男 2 女
  - `avatar` string
  - `region` string
  - `userDesc` string
  - `createTime` string, date-time: 注册时间
  - `registerDay` integer: 用户注册第几天：小于1天返回1
  - `isNewRegister` boolean: 新注册账号
  - `newUser` boolean: 是否7天内新用户
  - `globalRoaming` string: 国际区号
  - `globalPhone` string: 国际手机号
  - `regionInfoVO` RegionInfoVO
    - `regionId` integer: 区域标识ID
    - `imgFileUrl` string: 国家ICON地址URL
    - `simpleCode` string: 国家标识码
    - `nameZh` string
    - `regionCode` string
    - `seqNo` integer
  - `namespaceId` integer
  - `topPartitionId` integer: 一级分区ID
  - `secondPartitionId` integer: 二级分区ID
  - `followNum` integer
  - `fansNum` integer
  - `friendNum` integer
  - `visitorNum` integer: 主页总被访问次数
  - `isFollow` boolean
  - `likeNum` integer
  - `likeRedDot` boolean: 点赞红点状态
  - `fansRedDot` boolean: 粉丝红点状态：true有新粉丝，false无新粉丝
  - `friendRedDot` boolean: 朋友红点状态：true有新朋友，false无新朋友
  - `visitorRedDot` boolean: 访客红点状态：true有新访客，false无新访客
  - `wealthExp` number, double: 财富经验值
  - `wealthLevel` integer: 财富等级
  - `wealthLevelPic` string: 财富等级图标
  - `wealthLevelHidePic` string
  - `charmExp` number, double: 魅力值
  - `charmLevel` integer: 魅力等级
  - `charmLevelPic` string: 魅力等级图标
  - `charmLevelHidePic` string
  - `hideLevelSwitch` boolean
  - `headwearUrl` string
  - `headwearSvgaUrl` string
  - `carMp4Url` string
  - `floatingScreenItem` ItemProductDTO
    - `picUrl` string
    - `vggUrl` string
    - `resourceType` integer
    - `picUrlList` string[]
    - `mp4Url` string
    - `picEffect` integer
    - `itemProductId` integer
  - `wornMedalList` UserMedalVo[]: 已佩戴勋章列表
    - `medalId` integer: 荣誉ID
    - `medalName` string: 荣誉名称
    - `medalDesc` string: 荣誉描述
    - `picUrl` string: 荣誉图片
    - `vggUrl` string: 荣誉动效
    - `honorPoint` integer: 荣誉积分
    - `sourceType` integer: 来源类型 0-勋章 1-称号 2-证书
  - `wornTitleList` UserMedalVo[]: 已佩戴称号列表
    - `medalId` integer: 荣誉ID
    - `medalName` string: 荣誉名称
    - `medalDesc` string: 荣誉描述
    - `picUrl` string: 荣誉图片
    - `vggUrl` string: 荣誉动效
    - `honorPoint` integer: 荣誉积分
    - `sourceType` integer: 来源类型 0-勋章 1-称号 2-证书
  - `wornCertificateList` UserMedalVo[]: 已佩戴证书列表
    - `medalId` integer: 荣誉ID
    - `medalName` string: 荣誉名称
    - `medalDesc` string: 荣誉描述
    - `picUrl` string: 荣誉图片
    - `vggUrl` string: 荣誉动效
    - `honorPoint` integer: 荣誉积分
    - `sourceType` integer: 来源类型 0-勋章 1-称号 2-证书
  - `anchorInfo` UserAnchorInfoVO
    - `laborUnionId` integer
    - `salaryType` integer
    - `anchorType` integer
    - `laborUnionName` string
  - `isReplaceCharge` boolean: 是否显示贈送金幣 true有 false没有
  - `inRoomUid` integer
  - `canPrivateChat` boolean: 是否可私聊
  - `canFollow` boolean: 是否可关注
  - `canEnterRoom` boolean: 是否可进入对方房间
  - `canFollowRoom` boolean: 是否可跟随进入房间
  - `vipLevel` integer
  - `svipLevel` integer: SVIP等级
  - `svipEntryUrl` string: SVIP资料入口资源
  - `svipIdentifierUrl` string: SVIP身份标识资源
  - `svipTagUrl` string: SVIP标签资源
  - `userIdentity` integer[]: 用户标签
  - `signFlag` boolean
  - `prettyTypeStr` string: 靓号类型：SS/S/A...
  - `spaceCarSwitch` boolean
  - `chatBubbleUrl` string
  - `chatBubbleId` integer
  - `soundWaveUrl` string
  - `soundWaveId` integer

## Changes

- **2026-09-08** `623ae02a1ebf`: 2 info
  - added the optional property `newUser` to the response with the `200` status
  - added the optional property `registerDay` to the response with the `200` status

[Operation history](https://skmtc.dev/oloo/apis/oloo-api/changes/user/info/h5/getUser/get.md)

---

[API](https://skmtc.dev/oloo/apis/oloo-api.md) - [All operations](https://skmtc.dev/oloo/apis/oloo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/oloo/apis/oloo-api/revisions/ada91d3a60e4?raw)
