接口名称 点赞排行ForSp     web domain
地址 https://api.cnlive.com/open/api2/support/supportBySpIdForRank/readRank4H5
method get
返回数据 json

/* Title: 9.2 读取点赞排行 Sort: 16 */

URL: https://api.cnlive.com/open/api2/commentServices/services/supportBySpIdForRank/readRank


请求方式: get


返回格式: JSON


请求参数说明:

参数 必选 类型 说明
appId true string 应用ID
plat true string i=IOS客户端,a=Android客户端
contentTag true string 内容标签
top true string 读取前几名
sign true string 签名

返回格式说明:

{
 "ranks": [{
 "contentId": "10012",
 "contentTitle": "yinghua",
 "contentSid": "10504",
 "nick": "###",
 "face": "http://yweb0.cnliveimg.com/images/headImg/2019/0215/1550199629722.jpg",
 "score": "4.0",
 "ranking": "1"
 }, {
 "contentId": "10016",
 "contentTitle": "yinghua",
 "contentSid": "10535",
 "nick": "###",
 "face": "http://yweb0.cnliveimg.com/images/headImg/2019/0215/1550199629722.jpg",
 "score": "3.0",
 "ranking": "2"
 }, {
 "contentId": "10015",
 "contentTitle": "yinghua",
 "contentSid": "10561",
 "nick": "###",
 "face": "http://yweb0.cnliveimg.com/images/headImg/2019/0215/1550199629722.jpg",
 "score": "2.0",
 "ranking": "3"
 }]
}