feat: enhance order processing and tenant management services
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -594,6 +594,9 @@ func (s *common) GetAssetURL(objectKey string) string {
|
||||
if objectKey == "" {
|
||||
return ""
|
||||
}
|
||||
if strings.HasPrefix(objectKey, "http://") || strings.HasPrefix(objectKey, "https://") {
|
||||
return objectKey
|
||||
}
|
||||
url, _ := s.storage.SignURL("GET", objectKey, 1*time.Hour)
|
||||
|
||||
return url
|
||||
|
||||
Reference in New Issue
Block a user