16 lines
287 B
JavaScript
16 lines
287 B
JavaScript
class Index {
|
|
constructor() {
|
|
// console.log(config.getBaseUrl());
|
|
this.getClassList()
|
|
}
|
|
|
|
async getClassList() {
|
|
let res = await indexServe.classList({
|
|
id: 253,
|
|
page: 1
|
|
});
|
|
console.log(res);
|
|
}
|
|
}
|
|
|
|
new Index() |