From a4db210c069cd45448067fffb39f070e9d119bb9 Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期二, 26 九月 2023 17:00:32 +0800
Subject: [PATCH] 修改家大事记 的图片文件上传 直调接口
---
ruoyi-ui/src/api/collection/index.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/ruoyi-ui/src/api/collection/index.js b/ruoyi-ui/src/api/collection/index.js
index 609f1d7..8d1f789 100644
--- a/ruoyi-ui/src/api/collection/index.js
+++ b/ruoyi-ui/src/api/collection/index.js
@@ -71,12 +71,12 @@
responseType: 'blob'
})
}
-//瀵煎叆妯℃澘
-export function downloadModel(data) {
+
+//瀵煎叆
+export function enload(data) {
return request({
- url: '/zfCollection/model',
- method: 'get',
- params: data,
- responseType: 'blob'
+ url: '/zfCollection/importData',
+ method: 'post',
+ data: data
})
}
--
Gitblit v1.9.1