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
675 B

import Http from '~~/utils/http';
import {ResOptions} from "~~/api/types";
/**
* @description 通报评议接口
* */
export default new class Comment extends Http<ResOptions<any>> {
private readonly submitComment_url = '/comment/submitComment'
private readonly submitConsult_url = '/comment/submitConsult'
private readonly getNotifyingCountry_url = '/comment/getNotifyingCountry'
submitComment(data: any) {
return this.post(this.submitComment_url, this.toFormData(data))
}
submitConsult(data: any) {
return this.post(this.submitConsult_url, this.toFormData(data))
}
getNotifyingCountry(){
return this.post(this.getNotifyingCountry_url)
}
}