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
541 B
20 lines
541 B
import Http from '~~/utils/http';
|
|
import {InformationDto, PaginationDto, ResOptions} from "~~/api/types";
|
|
|
|
export default new class WarningApi extends Http<ResOptions<any>> {
|
|
private readonly warning = '/warning/info'
|
|
private readonly warningCate = '/warning/cate'
|
|
private readonly warningLists = '/warning/lists'
|
|
|
|
getWarningDetail(id:string) {
|
|
return this.get(this.warning, {id})
|
|
}
|
|
getWarningCate() {
|
|
return this.get(this.warningCate)
|
|
}
|
|
getWarningList(data:any) {
|
|
return this.get(this.warningLists, data)
|
|
}
|
|
|
|
}
|