+++
get:/like/contentlist?content_id=:content_id&catid=:catid
*:content_id=1#文章id
*:catid=536#文章分类id
<<<
success
{
"success": true,
"data": {
"items": [
{
"like_id": "2",
"uid": "1",
"username": "cuijun",
"time": "2016-10-21 10:27:08",
"content_id": "1",
"comment_id": "0",
"position_type": "1",
"catid": "536",
"head_img": "http://www.lrb_api.com/uploads/head_img/1_58082c3272b50.jpg"
}
],
"_links": {
"self": {
"href": "http://www.lrb_api.com/v1/like/contentlist?content_id=1&catid=536&page=1"
}
},
"_meta": {
"totalCount": "1",
"pageCount": 1,
"currentPage": 1,
"perPage": 20
}
}
}
<<<
error
{
"success": false,
"data": {
"name": "Unauthorized",
"message": "access-token是一个无效的凭证.",
"code": 0,
"status": 401,
"type": "yii\\web\\UnauthorizedHttpException"
}
}
+++
### header头信息:
| 参数名 | 参数值 |
| --- | --- |
| Accept | application/json |
| DeviceId | 310995000000000|
| Sign | e67ce2f83ca715552c7040c6801e020f |