This commit is contained in:
zhujiyan
2024-05-14 08:51:30 +08:00
parent 3e254f820b
commit 9e2cb801e4
5 changed files with 515 additions and 92 deletions

View File

@@ -59,4 +59,16 @@ export const getFileUrl = (filePath: string) => {
url: SYSTEM_PREFIX + '/file/getFileUrl',
method: 'POST'
})
}
/**
* 根据获取文件的一个短期url及文件名
*/
export const getFileNameAndFilePath = (query: any) => {
return createAxios({
url:SYSTEM_PREFIX + '/file/getFileVO',
method: 'GET',
params:query
})
}