From d6436978d8b6f2039b6ef797f77fe4de38e6a0ed Mon Sep 17 00:00:00 2001
From: 杨磊 <505174330@qq.com>
Date: 星期四, 06 六月 2024 15:36:31 +0800
Subject: [PATCH] bug修改

---
 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