import Http from '~~/utils/http'; import {ResOptions} from "~~/api/types"; /** * @description 通报评议接口 * */ export default new class Comment extends Http> { 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) } }