添加了获取直播列表的接口

This commit is contained in:
luyuan 2020-07-18 16:10:14 +08:00
parent edd71ab1a4
commit 113144b716
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
2 changed files with 11 additions and 1 deletions

View File

@ -236,6 +236,10 @@ export default {
type: type, type: type,
status: status, status: status,
}); });
},
// 获取直播列表
tabLiveList(){
return vm.$u.post('api/Specialci/tabLiveList')
} }
} }
} }

View File

@ -216,8 +216,14 @@
this.getRecommendList(); this.getRecommendList();
this.getSwiper(); this.getSwiper();
this.getZhiBoSwiper(); this.getZhiBoSwiper();
this.tabLiveList();
}, },
methods: { methods: {
tabLiveList(){
this.$u.api.tabLiveList().then((res)=>{
console.log(res)
})
},
getSwiper() { getSwiper() {
this.$u.api.getIndexSwiper().then(res => { this.$u.api.getIndexSwiper().then(res => {
if (res.errCode == 0) { if (res.errCode == 0) {