Finish the delete things for matter and cache.

This commit is contained in:
zicla
2019-04-04 02:31:26 +08:00
parent 28b4227215
commit 7697891807
7 changed files with 49 additions and 38 deletions

View File

@ -128,7 +128,7 @@ func (this *AlienService) PreviewOrDownload(
this.matterService.DownloadFile(writer, request, GetUserCacheRootDir(imageCache.Username)+imageCache.Path, imageCache.Name, withContentDisposition)
} else {
this.matterService.DownloadFile(writer, request, GetUserFileRootDir(matter.Username)+matter.Path, matter.Name, withContentDisposition)
this.matterService.DownloadFile(writer, request, matter.AbsolutePath(), matter.Name, withContentDisposition)
}
//文件下载次数加一,为了加快访问速度,异步进行