From c56935d7085725e609d926b064c146f3ffc29e6e Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期四, 06 六月 2024 19:33:48 +0800
Subject: [PATCH] 1

---
 src/static/tool.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/static/tool.js b/src/static/tool.js
index 5b82698..29d6ab0 100644
--- a/src/static/tool.js
+++ b/src/static/tool.js
@@ -3,4 +3,8 @@
 } from "../utils/request/req1"
 export const getImg = (path) => {
 	return baseUrl + "/picture/getImageByFilePath?filePath=" + path
+}
+
+export const getFile = (path) => {
+	return baseUrl + "/file/getFileByFilePath?filePath=" + path
 }
\ No newline at end of file

--
Gitblit v1.9.1