From a75de95cd5481bc782caee3b3a3cdd52f991f944 Mon Sep 17 00:00:00 2001
From: 杨磊 <505174330@qq.com>
Date: 星期五, 07 六月 2024 17:19:31 +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