mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2026-11-17 22:58:07 +00:00
Modify: decoupling getSignedURL modules
This commit is contained in:
1 parent
6ada69f637
commit
9a942f8b48
7 files changed
+96
-83
No files matched your search
@@ -104,7 +104,7 @@ func (service *SingleFileService) CreateDownloadSession(ctx context.Context, c *
|
||||
}
|
||||
|
||||
// 获取下载地址
|
||||
downloadURL, err := fs.GetDownloadURL(ctx, service.Path)
|
||||
downloadURL, err := fs.GetDownloadURL(ctx, service.Path, "download_timeout")
|
||||
if err != nil {
|
||||
return serializer.Err(serializer.CodeNotSet, err.Error(), err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user