From b3825246fdd50374a322241b9eb51478759901d9 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期一, 09 一月 2023 16:34:15 +0800
Subject: [PATCH] feat: 消息查看 and

---
 src/api/system/portal/teamConstruction.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/system/portal/teamConstruction.js b/src/api/system/portal/teamConstruction.js
index 3ea1136..f033b50 100644
--- a/src/api/system/portal/teamConstruction.js
+++ b/src/api/system/portal/teamConstruction.js
@@ -9,11 +9,11 @@
 }
 
 export function exportTeamInfo(params) {
-    return http.post('/sccg/team_construction/export', {}, params);
+    return http.downloadFile('/sccg/team_construction/export', params);
 }
 
 export function importTeamInfo(data) {
-    return http.post('/sccg/team_construction/import', data);
+    return http.uploadFile('/sccg/team_construction/import', data);
 }
 
 export function updateTeamInfo(params) {

--
Gitblit v1.8.0