From 0546c1645ca0537d7e125c5dbec353dd7ed1ab00 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期四, 21 七月 2022 17:40:52 +0800
Subject: [PATCH] 案件录入添加

---
 src/api/common.js |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/api/common.js b/src/api/common.js
index 28a70b4..3a514a6 100644
--- a/src/api/common.js
+++ b/src/api/common.js
@@ -16,4 +16,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