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.
22 lines
466 B
22 lines
466 B
import Http from '~~/utils/http';
|
|
import {PaginationVo, ResOptions} from "~~/api/types";
|
|
|
|
export default new class Case extends Http<ResOptions<any>> {
|
|
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})
|
|
}
|
|
|
|
}
|