From 1a3fbfb1758b2770ddc3494e27bdeda447d7a9f2 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Sun, 8 Oct 2023 17:13:28 +0800 Subject: [PATCH] fix --- utils/s3url_to_s3id/s3url_to_s3id.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/s3url_to_s3id/s3url_to_s3id.go b/utils/s3url_to_s3id/s3url_to_s3id.go index 2acf0175..ce253fa9 100644 --- a/utils/s3url_to_s3id/s3url_to_s3id.go +++ b/utils/s3url_to_s3id/s3url_to_s3id.go @@ -4,7 +4,7 @@ import "strings" // 通过url解析资源id func GetS3ResourceIdFormUrl(s3Url string) string { - if !strings.Contains(s3Url, "http") { + if !strings.Contains(s3Url, "storage.fusenpack.com") { return "" } s := strings.Split(s3Url, "/")