You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
449 B
16 lines
449 B
import Http from '~~/utils/http';
|
|
import {ResOptions} from "~~/api/types";
|
|
|
|
export default new class AboutApi extends Http<ResOptions<any>> {
|
|
private readonly prefix = '/index'
|
|
private readonly about_url = '/aboutUs'
|
|
private readonly contract_url = '/contactUs'
|
|
getAboutInfo() {
|
|
return this.get(this.contact(this.prefix, this.about_url))
|
|
}
|
|
|
|
getContractInfo() {
|
|
return this.get(this.contact(this.prefix, this.contract_url))
|
|
}
|
|
}
|