[TOC]
简要描述
请求URL
http://localhost:3000/front/api/users/userinfo/:userid
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
userid |
是 |
string |
用户id |
请求头
参数名 |
必选 |
类型 |
说明 |
authorization |
是 |
string |
登录时获取到的token |
返回示例
{
"error_code": 0,
"data": {
"_id": "64107ba272fbbcf11418db38",
"username": "cuihua",
"password": "$2a$10$aaltmgxbJFK241SPtGJ5U.GZjef9q9.oo3sNcN7xNjmLLQhAgHkVK",
"email": "123456789@qq.com",
"tel": 18888888888,
"created_at": "2023-03-14T13:49:03.143Z",
"updated_at": "2023-03-14T13:49:03.143Z",
"enable": false,
}
}