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:
2026-02-08 18:30:42 +08:00
parent 9bf3a87b32
commit 590662964a
4 changed files with 183 additions and 24 deletions

View File

@@ -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