From 1aa5be564d5df56297355a2e71ae4ff6c7df0042 Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期一, 09 十月 2023 10:03:23 +0800
Subject: [PATCH] ss
---
ruoyi-ui/src/api/collection/index.js | 21 +++++++++++++++------
1 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/ruoyi-ui/src/api/collection/index.js b/ruoyi-ui/src/api/collection/index.js
index 5784693..8d1f789 100644
--- a/ruoyi-ui/src/api/collection/index.js
+++ b/ruoyi-ui/src/api/collection/index.js
@@ -9,6 +9,15 @@
})
}
+//绫诲埆鏁版嵁
+export function listType(query) {
+ return request({
+ url: '/zfCollection/type',
+ method: 'get',
+ params: query
+ })
+}
+
// 鏍规嵁id鏌ヨ鏀惰棌鍜岃崳瑾�
export function getCollection(id) {
return request({
@@ -62,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