点赞、收藏、浏览统计接口
开发中GET
/information/like/num请求参数
Query 参数
informationId
string
可选
示例值:
2
Header 参数
X-ATOMGIT-POP-COMMUNITY
string
可选
示例值:
openatom
X-ATOMGIT-POP-TOKEN
string
可选
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
informationLikeCount
integer
点赞数
informationCollections
integer
收藏数
informationViews
integer
浏览数
isLike
boolean
是否点赞
isCollect
boolean
是否收藏
示例
{
"code": 200,
"msg": "成功",
"data": {
"likeNum": 0,
"collectNum": 0,
"viewNum": "49",
"isLike": false,
"isCollect": false
}
}
最后修改时间: 4 个月前