From 4d35cc54167abbaffe090a309ef4c9aaf171e579 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期一, 25 七月 2022 14:00:56 +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