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.
20 lines
567 B
20 lines
567 B
import Http from '~~/utils/http';
|
|
import {InformationDto, PaginationDto, ResOptions} from "~~/api/types";
|
|
|
|
export default new class TechnicalApi extends Http<ResOptions<any>> {
|
|
private readonly technical = '/technical/info'
|
|
private readonly technicalCate = '/technical/cate'
|
|
private readonly technicalLists = '/technical/lists'
|
|
|
|
getTechnicalDetail(id:string) {
|
|
return this.get(this.technical, {id})
|
|
}
|
|
getTechnicalCate() {
|
|
return this.get(this.technicalCate)
|
|
}
|
|
getTechnicalList(data:any) {
|
|
return this.get(this.technicalLists, data)
|
|
}
|
|
|
|
}
|