From 1cc4da26c0dfb93bb3b9800f2c82988cfc4af3d6 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期一, 22 五月 2023 11:45:07 +0800
Subject: [PATCH] 群组聊天修改
---
src/api/common.js | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/src/api/common.js b/src/api/common.js
index 2dfdc43..441ab79 100644
--- a/src/api/common.js
+++ b/src/api/common.js
@@ -10,12 +10,8 @@
export function getImgUrl(val) {
- return request({
- url: '/minio/getUrl',
- method: 'get',
- params: {
- fileName: val
- }
+ return new Promise(resolve => {
+ resolve("/minio/img/" + val)
})
}
@@ -38,6 +34,6 @@
return request({
url: `/report/audit`,
method: 'post',
- data:params
+ data: params
})
-}
\ No newline at end of file
+}
--
Gitblit v1.8.0