接口名称 |
点赞ForSp(支持排行)
web domain
|
地址 |
https://api.cnlive.com/open/api2/support/supportBySpIdForRank/insert4H5 |
method |
post |
返回数据 |
json
|
/* Title: 9.1 点赞并记录点赞排行 Sort: 16 */
请求方式: POST
返回格式: JSON
请求参数说明:
参数 |
必选 |
类型 |
说明 |
appId |
true |
string |
应用ID |
plat |
true |
string |
i=IOS客户端,a=Android客户端 |
contentId |
true |
string |
主题ID |
contentTitle |
false |
string |
主题title |
contentSid |
false |
string |
发布者ID |
sid |
true |
string |
点赞者id |
support |
true |
string |
0 取消 1点赞 |
contentTag |
false |
string |
内容标签;isRank=true时,此项必填 |
isRank |
true |
string |
true 计入排行 false 不计入 |
sign |
true |
string |
签名 |
返回格式说明:
{
"errorMessage": "成功",
"errorCode": "0"
}