S3: add public_url, fix Content-Disposition, add oss-file proxy
This commit is contained in:
@@ -17,6 +17,7 @@ type OssApi struct {
|
||||
BucketName string `gorm:"not null" json:"bucket_name"` // Nombre del bucket o access point
|
||||
Region string `gorm:"size:50" json:"region"` // Región, opcional
|
||||
IsActive bool `gorm:"default:true" json:"is_active"` // Activar o desactivar config
|
||||
PublicURL string `gorm:"size:255" json:"public_url"` // URL pública para S3 (opcional)
|
||||
Notes string `gorm:"type:text" json:"notes"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user