From 83dfded91b5caf837a3d7ba71aa86dafbcf3e3a1 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期五, 01 三月 2024 15:47:10 +0800
Subject: [PATCH] 修改了那个allmemo里面index.js

---
 ruoyi-ui/src/api/economy/index.js |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/ruoyi-ui/src/api/economy/index.js b/ruoyi-ui/src/api/economy/index.js
index 727fe4a..cb2e9d3 100644
--- a/ruoyi-ui/src/api/economy/index.js
+++ b/ruoyi-ui/src/api/economy/index.js
@@ -50,7 +50,7 @@
 //涓婁紶鏂囦欢
 export function uploadPic(data) {
   return request({
-    url: '/common/upload',
+    url: '/common/uploads',
     method: 'post',
     data: data
   })
@@ -65,13 +65,12 @@
   })
 }
 
-//瀵煎叆鏁版嵁
-// export function download(data) {
-//   return request({
-//     url: '/zfEquipment/importData',
-//     method: 'post',
-//     params: data,
-//     responseType: 'blob'
-//   })
-// }
+//瀵煎叆
+export function enload(data) {
+  return request({
+    url: 'zfEconomy/importData',
+    method: 'post',
+    data: data
+  })
+}
 

--
Gitblit v1.9.1