fix
This commit is contained in:
parent
bc87a3a114
commit
361a8eb580
|
@ -4,7 +4,7 @@ import "strings"
|
||||||
|
|
||||||
// 通过url解析资源id
|
// 通过url解析资源id
|
||||||
func GetS3ResourceIdFormUrl(s3Url string) string {
|
func GetS3ResourceIdFormUrl(s3Url string) string {
|
||||||
if !strings.Contains(s3Url, "fusen") {
|
if !strings.Contains(s3Url, "https://") {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
s := strings.Split(s3Url, "/")
|
s := strings.Split(s3Url, "/")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user