文档
测试

通过id查询某个用户信息

GET
http://47.112.249.254:2929/user/getuser/5f50ed29eb14800720286fb0

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
message
string
示例:查询成功
必填
data
array
数据列表
必填
_id
string
示例:5f50ed29eb14800720286fb0
必填
id
int
示例:8
必填
name
string
示例:红发
必填
headphoto
string
示例:http://localhost:3939/uploads/tv-1600779366307.jpg
必填
code
int
示例:1
必填
message
string
示例:查询成功
必填
data
array
数据列表
必填
_id
string
示例:5f50ed29eb14800720286fb0
必填
id
int
示例:8
必填
name
string
示例:红发
必填
headphoto
string
示例:http://localhost:3939/uploads/mangguo-1600828386179.jpg
必填