package dto // 存储域 type CreateStorageRequest struct { Name string `json:"name" binding:"required"` StorageType string `json:"storageType" binding:"required,oneof=s3 oss minio rustfs"` Endpoint string `json:"endpoint"` Bucket string `json:"bucket" binding:"required"` Region string `json:"region"` AccessKey string `json:"accessKey"` SecretKey string `json:"secretKey"` PathPrefix string `json:"pathPrefix"` Insecure bool `json:"insecure"` IsDefault bool `json:"isDefault"` }