From c99cfa08505196fd6ba4d0ea8bd4dcf7a1fb268e Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 07 六月 2024 16:27:53 +0800 Subject: [PATCH] 1 --- src/static/tool.js | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/static/tool.js b/src/static/tool.js index 29d6ab0..853a204 100644 --- a/src/static/tool.js +++ b/src/static/tool.js @@ -1,10 +1,4 @@ -import { - baseUrl, -} from "../utils/request/req1" +import { baseUrl } 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 + return baseUrl + "/picture/getImageByFilePath?filePath=" + path; +}; -- Gitblit v1.9.1