From bed60230e71cbdcfbdefc08be80b885f773502eb Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期三, 27 七月 2022 15:23:35 +0800 Subject: [PATCH] 案件人员修改按钮 导出按钮 退群 删除 查看 --- src/api/common.js | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/api/common.js b/src/api/common.js index 28a70b4..fd002a4 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -8,6 +8,7 @@ }) } + export function getImgUrl(val) { return request({ url: '/minio/getUrl', @@ -16,4 +17,19 @@ fileName: val } }) -} \ No newline at end of file +} + +export function report(params) { + return request({ + url: '/report', + method: 'post', + data: params + }) +} + +export function getReportById(id) { + return request({ + url: `/report/${id}`, + method: 'get', + }) +} -- Gitblit v1.8.0