新增: 云OSS存储集成(七牛云+阿里云)+多桶导航+GBK编码自动转换
This commit is contained in:
@@ -11,8 +11,13 @@ type ConnectionProfile struct {
|
||||
Username string `gorm:"type:varchar(100);default:root" json:"username"`
|
||||
Password string `gorm:"type:text" json:"password"`
|
||||
KeyPath string `gorm:"type:text" json:"key_path"`
|
||||
Type string `gorm:"type:varchar(20);not null;index" json:"type"` // local|remote|sftp
|
||||
Type string `gorm:"type:varchar(20);not null;index" json:"type"` // local|remote|sftp|qiniu|aliyun
|
||||
Token string `gorm:"type:text" json:"token"`
|
||||
AccessKey string `gorm:"type:text" json:"access_key"`
|
||||
SecretKey string `gorm:"type:text" json:"secret_key"`
|
||||
Bucket string `gorm:"type:varchar(100)" json:"bucket"`
|
||||
Region string `gorm:"type:varchar(100)" json:"region"`
|
||||
Endpoint string `gorm:"type:varchar(255)" json:"endpoint"`
|
||||
LastConnected *time.Time `json:"last_connected"`
|
||||
SortOrder int `gorm:"default:0" json:"sort_order"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
|
||||
Reference in New Issue
Block a user