From 7fe66523c87a00ea5be4d2f784356db825c6a3cd Mon Sep 17 00:00:00 2001
From: litian <2804272236@qq.com>
Date: 星期五, 07 二月 2025 17:29:43 +0800
Subject: [PATCH] shangshuan

---
 src/assets/methods/resources.js |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/assets/methods/resources.js b/src/assets/methods/resources.js
index 8c3829d..35d10ff 100644
--- a/src/assets/methods/resources.js
+++ b/src/assets/methods/resources.js
@@ -10,6 +10,11 @@
     ? res.data
     : process.env.VUE_APP_API_URL + "/file/api/ApiDownload?md5=" + md5;
 };
+//涓婁紶璧勬簮
+export const uploadFilePath = async (fileData) => {
+  const res = fileApi.upload(fileData);
+  return res;
+};
 // 鑾峰彇鏀惰棌鐨勮祫婧�
 export const getCollectResource = async (key) => {
   if (!localStorage.getItem(tokenKey)) return [];
@@ -34,6 +39,7 @@
   getResourcePath,
   getCollectResource,
   setCollectResource,
+  uploadFilePath
 };
 
 export default MT;

--
Gitblit v1.9.1