Authored by 陈轩

Merge remote-tracking branch 'origin/feature/live' into feature/live

... ... @@ -30,7 +30,8 @@ const _formatTime = (timestamp, b) => {
// 获取顶部bannel
let _getBannerData = () => {
return service.get('operations/api/v5/resource/get', {
content_code: contentCodeConfig.live.index
content_code: contentCodeConfig.live.index,
platform: 'iphone'
}, {
code: 200,
cache: true
... ... @@ -46,7 +47,7 @@ const _getBestList = () => {
cache: false
}).then(result => {
let list = result && result.data || [];
if (result && result.data && result.data.length !== 2) {
result.data = [];
}
... ... @@ -61,7 +62,7 @@ const _getBestList = () => {
item.now_living = true;
break;
case 2:
//直播结束不显示
// 直播结束不显示
result.data = [];
break;
}
... ...