import Http from '~~/utils/http'; import {PaginationVo, ResOptions} from "~~/api/types"; export default new class Case extends Http> { private readonly types = '/ts/cate' private readonly tsList = '/ts/lists' private readonly tsInfo = '/ts/info' getTsTbTypes() { return this.get(this.types) } getTsList(params:any) { return this.get(this.tsList, params) } getTsInfo(id:any) { return this.get(this.tsInfo, {id}) } }