14 lines
309 B
JavaScript
14 lines
309 B
JavaScript
import config from '@/config/index'
|
|
import http from '@/http/index'
|
|
class IndexService {
|
|
async home(data = {}, header = {}) {
|
|
return await (new http()).get({
|
|
url: config.urlList.index,
|
|
data: data,
|
|
headers: header
|
|
})
|
|
}
|
|
}
|
|
|
|
export default IndexService
|