From 5fd21ec6e0bd9511b512e7521ec4f3217b5e1d29 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期三, 14 十月 2026 14:09:40 +0800
Subject: [PATCH] refactor: 移除不必要的字段注释,简化代码结构
---
src/api/basicData/common.js | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/api/basicData/common.js b/src/api/basicData/common.js
index 01c6f35..547c1e1 100644
--- a/src/api/basicData/common.js
+++ b/src/api/basicData/common.js
@@ -11,3 +11,15 @@
},
})
}
+
+// 閫氱敤涓婁紶鎺ュ彛锛屾敮鎸� FormData 鎵归噺浼犳枃浠�,姘镐笉杩囨湡锛屾厧鐢�
+export function uploadPublicFile(data) {
+ return request({
+ url: '/common/public/upload',
+ method: 'post',
+ data,
+ headers: {
+ 'Content-Type': 'multipart/form-data',
+ },
+ })
+}
--
Gitblit v1.9.3