文件服务下载改为数据流

新建文件夹&删除文件夹
This commit is contained in:
zhujiyan
2024-09-11 19:39:55 +08:00
parent 6af2bc8397
commit 79cb8a9897
4 changed files with 168 additions and 11 deletions

View File

@@ -8,3 +8,13 @@ export function auditFeedBack(data:any) {
params:data
})
}
//下载文件
export function downLoadFile(filePath:any){
return createAxios({
url: '/system-boot/file/download',
method: 'get',
responseType: 'blob',
params:{filePath:filePath}
})
}