first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
import http from '../http'
import config from '../config'
export default class IndexService {
async radio (data = {}, header = {}) {
// eslint-disable-next-line no-return-await
return await http.get({
url: config.ApiList.radio,
data: data,
headers: header
})
}
async channelList (data = {}, header = {}) {
// eslint-disable-next-line no-return-await
return await http.get({
url: config.ApiList.channelList,
data: data,
headers: header
})
}
async channelComment (data = {}, header = {}) {
// eslint-disable-next-line no-return-await
return await http.get({
url: config.ApiList.channelComment,
data: data,
headers: header
})
}
async videoDetail (data = {}, header = {}) {
// eslint-disable-next-line no-return-await
return await http.get({
url: config.ApiList.videoDetail,
data: data,
headers: header
})
}
async interactDetail (data = {}, header = {}) {
// eslint-disable-next-line no-return-await
return await http.get({
url: config.ApiList.interactDetail,
data: data,
headers: header
})
}
async channelComment(data = {}, header = {}) {
return await http.get({
url: config.ApiList.channelComment,
data: data,
headers: header
});
}
//融媒直播
async liveList(data = {}, header = {}) {
return await http.get({
url: config.ApiList.liveList,
data: data,
headers: header
});
}
//直播详情
async liveDetail(data = {}, header = {}) {
return await http.get({
url: config.ApiList.liveDetail,
data: data,
headers: header
});
}
}

View File

@@ -0,0 +1,5 @@
import IndexService from './IndexService'
export default {
index: new IndexService()
}