From e38ecc06dbfea02080f197ed3352c7673be5e9ab Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期一, 17 十一月 2025 15:11:00 +0800
Subject: [PATCH] 修改了对应代码

---
 src/api/system/materials.js |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/src/api/system/materials.js b/src/api/system/materials.js
index e8a1226..77f4b6f 100644
--- a/src/api/system/materials.js
+++ b/src/api/system/materials.js
@@ -42,3 +42,30 @@
     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:{
+
+    // }
+  })
+}

--
Gitblit v1.9.1