From c4b8209d92daa8c6e8ec20bdd56fecf4a95d0990 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 05 六月 2024 16:41:33 +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