Modify: decoupling getSignedURL modules

This commit is contained in:
HFO4 committed 2019-12-16 12:52:35 +08:00
1 parent 6ada69f637
commit 9a942f8b48
7 files changed
+96 -83

No files matched your search

+1 -1
View File
@@ -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)
}