From 05df4f202c9a21b384e4b6109f22901c00859a9a Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 23 三月 2023 16:00:56 +0800
Subject: [PATCH] 删除用户提醒
---
src/api/common.js | 28 ++++++++++++++++++++++++----
1 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/src/api/common.js b/src/api/common.js
index 28a70b4..c914421 100644
--- a/src/api/common.js
+++ b/src/api/common.js
@@ -8,12 +8,32 @@
})
}
+
export function getImgUrl(val) {
+ return new Promise(resolve => {
+ resolve("/minio/img/" + val)
+ })
+}
+
+export function report(params) {
return request({
- url: '/minio/getUrl',
+ url: '/report',
+ method: 'post',
+ data: params
+ })
+}
+
+export function getReportById(id) {
+ return request({
+ url: `/report/${id}`,
method: 'get',
- params: {
- fileName: val
- }
+ })
+}
+
+export function checkPass(params) {
+ return request({
+ url: `/report/audit`,
+ method: 'post',
+ data: params
})
}
\ No newline at end of file
--
Gitblit v1.8.0