杨磊
2024-06-12 ab0ba0da5856458749609d4df3fec44aa7ce18ed
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
}
  return baseUrl + "/picture/getImageByFilePath?filePath=" + path;
};