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,7 @@
import indexService from './indexService'
import carService from './carService'
export default {
index: new indexService(),
car: new carService()
}

View File

@@ -0,0 +1,3 @@
export default class carService {
}

View File

@@ -0,0 +1,54 @@
import http from "@/http"
import config from "@/config"
export default class IndexService {
async radio(data = {}, header = {}) {
return await (new http()).get({
url: config.apiList.radio,
data: data,
headers: header
})
}
async getMenuList(data = {}, header = {}) {
return await (new http()).get({
url: config.apiList.getMenuList,
data: data,
headers: header
})
}
async channelList(data = {}, header = {}) {
return await (new http()).get({
url: config.apiList.channelList,
data: data,
headers: header
});
}
async liveComment(data = {}, header = {}) {
return await (new http()).get({
url: config.apiList.liveComment,
data: data,
headers: header
})
}
async newsDetail(data = {}, header = {}) {
return await (new http()).get({
url: config.apiList.newsDetail,
data: data,
headers: header
})
}
async interactDetail(data = {}, header = {}) {
return await (new http()).get({
url: config.apiList.interactDetail,
data: data,
headers: header
})
}
}