+++
get:/user/info?access-token=:access-token
*:access-token=92ece3ec585b1b0d433a98d7d8e93410#安全验证字符串
<<<
success
{
"success": true,
"data": {
"id": "41",
"username": "cuijun",
"nickname": "11",
"phone": "13814510320",
"email": "1111@qq.com",
"head_img": "data:image/jpg;base64",
"status": 10,
"created_at": "2016-10-13 17:50:49",
"updated_at": "2016-10-14 11:17:56",
"access_token": "92ece3ec585b1b0d433a98d7d8e93410",
"qq_openid": "wdwdwdwefrwef",//QQ第三方登录 OpenId
"wx_openid": null,//微信第三方登录 OpenId
"wb_openid": null//微博第三方登录 OpenId
}
}
<<<
error
{
"success": false,
"data": {
"name": "Unauthorized",
"message": "You are requesting with an invalid credential.",
"code": 0,
"status": 401,
"type": "yii\\web\\UnauthorizedHttpException"
}
}
+++
### header头信息:
| 参数名 | 参数值 |
| --- | --- |
| Accept | application/json |
| DeviceId | 310995000000000|
| Sign | e67ce2f83ca715552c7040c6801e020f |