+++
get:/user/list?id=:ids
*:ids=1,2,3,4#用户id
<<<
success
{
"success": true,
"data": [
{
"id": "1",
"username": "cuijun",
"nickname": null,
"phone": "13814510318",
"email": null,
"head_img": "http://xhigh123.gicp.net/uploads/head_img/1_58082c3272b50.jpg",
"status": "10",
"created_at": "2016-10-20 09:38:33",
"updated_at": "2016-10-20 10:30:10",
"access_token": "92ece3ec585b1b0d433a98d7d8e93410"
},
{
"id": "2",
"username": "cuijun2",
"nickname": null,
"phone": "13814510328",
"email": null,
"head_img": "http://xhigh123.gicp.net/uploads/head_img/1_58082c3272b50.jpg",
"status": "10",
"created_at": "2016-10-20 09:38:33",
"updated_at": "2016-10-20 10:30:10",
"access_token": "92ece3ec585b1b0d433a98d7d8e93411"
}
]
}
<<<
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 |