From 81a110ce9a42925405e3de67408ba3bb41a68cf9 Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期一, 26 十二月 2022 18:10:19 +0800 Subject: [PATCH] 案件录入页面优化 --- src/api/common.js | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/api/common.js b/src/api/common.js index 28a70b4..2dfdc43 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,27 @@ fileName: val } }) +} + +export function report(params) { + return request({ + url: '/report', + method: 'post', + data: params + }) +} + +export function getReportById(id) { + return request({ + url: `/report/${id}`, + method: 'get', + }) +} + +export function checkPass(params) { + return request({ + url: `/report/audit`, + method: 'post', + data:params + }) } \ No newline at end of file -- Gitblit v1.8.0