diff --git a/utils/s3url_to_s3id/s3url_to_s3id.go b/utils/s3url_to_s3id/s3url_to_s3id.go index 8183e888..ec0e57d0 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, "fusen") { + if !strings.Contains(s3Url, "https://") { return "" } s := strings.Split(s3Url, "/")