This commit is contained in:
2024-07-18 14:19:02 +08:00
parent 72138aeedb
commit ec88138888
70 changed files with 3124 additions and 53 deletions
+8
View File
@@ -12,3 +12,11 @@ func RemoveOssDomain(url string) string {
}
return url
}
// AddOssDomain 增加oss地址中的前缀
func AddOssDomain(url string) string {
if url == "" {
return ""
}
return config.C.Oss.OssCustomDomainName + url
}