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.

17 lines
518 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'
submitComment(data: any) {
return this.post(this.submitComment_url, this.toFormData(data))
}
submitConsult(data: any) {
return this.post(this.submitConsult_url, this.toFormData(data))
}
}