文档
测试

获取用户信息

GET
/userInfo?userId=1294549074808156161

请求参数

参数名
类型
描述
必填
userId
string
用户id
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
receive_like_counts
int
示例:1
必填
fans_counts
int
示例:0
必填
nickname
string
示例:xixi
必填
face_image
string
示例:/1294549307470393345/face/4f41aa539a2343c2bbf8ce103ca35705.png
必填
id
string
示例:1294549307470393345
必填
follow_counts
int
示例:1
必填

说明 / 示例

```json { "code": 0, "msg": "成功", "data": { "receive_like_counts": 1, "fans_counts": 0, "nickname": "xixi", "face_image": "/1294549307470393345/face/4f41aa539a2343c2bbf8ce103ca35705.png", "id": "1294549307470393345", "follow_counts": 1 } } ```