From c50a874feed1ceceb18e0d42f95e4094eef98128 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期四, 27 十一月 2025 23:32:56 +0800
Subject: [PATCH] 修改了代码
---
src/api/system/materials.js | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/src/api/system/materials.js b/src/api/system/materials.js
index e8a1226..f7d1ee3 100644
--- a/src/api/system/materials.js
+++ b/src/api/system/materials.js
@@ -42,3 +42,41 @@
method: 'delete'
})
}
+
+
+//瀵煎叆
+export function enload(data) {
+
+ return request({
+ url: '/system/materials/importData',
+ method: 'post',
+ headers: {
+ 'Content-Type': 'multipart/form-data'
+ },
+ data: data
+ })
+}
+
+
+
+export function islegal(recordId)
+{
+ return request({
+ url:'/system/materials/isPageNubLegal/'+recordId,
+ method:'get',
+ // headers:{
+
+ // }
+ })
+}
+
+export function getFileCount(recordId)
+{
+ return request({
+ url:'/system/materials/getFileCount/'+recordId,
+ method:'get',
+ // headers:{
+
+ // }
+ })
+}
--
Gitblit v1.9.1