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,9 @@
import Axios from '../api'
import conf from '../config'
export default class BaseService {
constructor() {
this.api = Axios;
this.config = conf
}
}

View File

@@ -0,0 +1,12 @@
import BaseService from './BaseService'
export default class HomeService extends BaseService {
async getHomeData(data) {
return await this.api.get({
url: this.config.ajaxUrl.UrlList.ridio,
data: data
})
}
}

View File

@@ -0,0 +1,10 @@
import BaseService from './BaseService'
export default class PlayRadio extends BaseService{
async newsService(data) {
return await this.api.get({
url: this.config.ajaxUrl.UrlList.newsDetail,
data: data
})
}
}

View File

@@ -0,0 +1,12 @@
import BaseService from './BaseService'
export default class PlayRadio extends BaseService{
async startradio(data) {
return await this.api.get({
url: this.config.ajaxUrl.UrlList.startradio,
data: data
})
}
}

View File

@@ -0,0 +1,12 @@
import BaseService from './BaseService'
export default class HomeService extends BaseService {
async getinteractDetail(data) {
return await this.api.get({
url: this.config.ajaxUrl.UrlList.interactDetail,
data: data
})
}
}

View File

@@ -0,0 +1,12 @@
import BaseService from './BaseService'
export default class VideoService extends BaseService{
async videoplay(data) {
return await this.api.get({
url: this.config.ajaxUrl.UrlList.Video,
data: data
})
}
}

View File

@@ -0,0 +1,13 @@
import HomeService from './HomeService'
import PostService from "./PostService"
import PlayRadio from './PlayRadio'
import VideoService from './VideoService'
import NewsService from './NewsService'
export default class Imports {
homeService = new HomeService()
postService = new PostService()
playRadio = new PlayRadio()
video = new VideoService()
newsService = new NewsService()
}