Files
ClassContent/历届学生/吴欣阳/项目开发/上课项目/vue管理后台/src/serve/IndexServe.js
2024-09-27 02:06:13 +08:00

24 lines
466 B
JavaScript

import BaseServe from "./BaseServe";
export default class IndexServe extends BaseServe {
constructor() {
super();
}
async home (data = {}, headers = {}) {
return await this.http.get({
url: this.config.urlList.index,
data: data,
headers: headers
})
}
async mechanism (data = {}, headers = {}) {
return await this.http.get({
url: this.config.urlList.mechanism,
data: data,
headers: headers
})
}
}