Files
ClassContent/历届学生/fontendseven/每天课程/2021-11-26/js/server.js
2024-09-27 02:06:13 +08:00

25 lines
459 B
JavaScript

class Server {
async index(data) {
return (new HTTP()).get({
url: config.urlList.index,
data: data
})
}
async classList(data) {
return (new HTTP()).get({
url: config.urlList.classList,
data: data
})
}
async info(data) {
return (new HTTP()).get({
url: config.urlList.info,
data: data
})
}
}
var server = new Server()