From 49bf04d7865d999463a024b82a6cd7608bb89507 Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期二, 08 八月 2023 19:45:57 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ruoyi-ui/src/api/collection/index.js |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/api/collection/index.js b/ruoyi-ui/src/api/collection/index.js
index 2a53a4e..609f1d7 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,3 +71,12 @@
     responseType: 'blob'
   })
 }
+//瀵煎叆妯℃澘
+export function downloadModel(data) {
+  return request({
+    url: '/zfCollection/model',
+    method: 'get',
+    params: data,
+    responseType: 'blob'
+  })
+}

--
Gitblit v1.9.1