14 lines
311 B
JavaScript
14 lines
311 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
|