~~~[api]
get:/api/user/like
*int:record_id#新闻或评论id
*int:type#类型 0新闻 1评论
*int:like#是否点赞 0 点赞 1不喜欢
<<<
success
{
"code": 1,
"msg": "操作成功",
"time": 1509962691,
"data": []
}
或
{
"code": 1,
"msg": "已取消成功",
"time": 1509962755,
"data": []
}
<<<
error
~~~