# 焦点图接口
# 接口描述
在产品中插入焦点图(banner)推荐位,支持在各页面各位置插入不同规格的焦点图。并支持焦点图快链到歌曲、专辑、艺人、歌单/榜单/电台、视频、外部网站的详情页。
关于焦点图的运营规则和商务合作,请联系商务进行洽谈。
# 调用接口
请求接口:/TRACKLIST/getBanner.json
请求方法:POST
# 输入参数
参数名 | 类型 | 是否必传 | 说明 |
---|---|---|---|
mode | numeric | 必传 | 1 待生效 2 已生效 3 已过期 |
scenesCode | string | 非必传 | 不传为获取所有,传值表示获取响应推荐位的数据,其推荐位 code 定义请联系商务约定 |
# 返回结果
{
"state": true,
"errcode": "",
"errmsg": "",
"data": [
{
"pic": "https://img01.dmhmusic.com/0412/M00/30/77/ChAKEl_Za-yADvOTAAG1bXAR0ag187.jpg",
"title": "衣柜里有东西",
"jumpType": "2",
"scenesName": "QingQingBanner-01",
"scenesCode": "qq01",
"scenes": "2",
"jumpLinkOutput": "P10003598557",
"sort": "1",
"showStartDate": "2020-12-16 00:00:00",
"showEndDate": "2020-12-31 23:59:59"
},
{
"pic": "https://img01.dmhmusic.com/0412/M00/30/35/ChAKEl_ZaQqAJ3VxAAIRM9eiH7w132.jpg",
"title": "抖音纯音乐集,你的生活BGM",
"jumpType": "3",
"scenesName": "QingQingBanner-01",
"scenesCode": "qq01",
"scenes": "2",
"jumpLinkOutput": "270836",
"sort": "2",
"showStartDate": "2020-12-16 00:00:00",
"showEndDate": "2020-12-31 23:59:59"
},
{
"pic": "https://img01.dmhmusic.com/0412/M00/30/73/ChAKEV_Za6-ANXZ8AAGTDFd5e0w203.jpg",
"title": "忘记昨天",
"jumpType": "2",
"scenesName": "QingQingBanner-01",
"scenesCode": "qq01",
"scenes": "2",
"jumpLinkOutput": "P10003598566",
"sort": "3",
"showStartDate": "2020-12-16 00:00:00",
"showEndDate": "2020-12-31 23:59:59"
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 错误码
错误码 | 说明 |
---|---|
ad001 | 没有可用的服务 |
ad002 | 没有找到可用的服务数据 |