import Http from '~~/utils/http'; import {PaginationVo, ResOptions} from "~~/api/types"; export default new class Case extends Http> { private readonly caseList = '/cases/lists' private readonly caseInfo = '/cases/info' getCaseList(params: PaginationVo) { return this.get(this.caseList, params) } getCaseInfo(id: string) { return this.get(this.caseInfo, {id}) } }