From 11bacb83e24ef682d5186deeca22e7137b9c9786 Mon Sep 17 00:00:00 2001 From: lewis <747342561@qq.com> Date: Thu, 17 Feb 2022 16:54:38 +0800 Subject: [PATCH] download link --- models/attachment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/attachment.go b/models/attachment.go index 6ab1f3652..c322d391b 100755 --- a/models/attachment.go +++ b/models/attachment.go @@ -97,7 +97,7 @@ func (a *Attachment) DownloadURL() string { return fmt.Sprintf("%sattachments/%s?type=%d", setting.AppURL, a.UUID, a.Type) } -// DownloadURL returns the download url of the attached file +// S3DownloadURL returns the s3 download url of the attached file func (a *Attachment) S3DownloadURL() string { url := "" if a.Type == TypeCloudBrainOne {