公告板
版本库
filestore
活动
搜索
登录
main
/
TCM_CharacterLibrary
中医人物知识数据库-外包项目
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
1
YM
2024-06-05
c4b8209d92daa8c6e8ec20bdd56fecf4a95d0990
[TCM_CharacterLibrary.git]
/
src
/
static
/
tool.js
1
2
3
4
5
6
7
8
9
10
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
}