文件服务下载改为数据流
新建文件夹&删除文件夹
This commit is contained in:
@@ -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}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user