fix():修改s3为阿里云oss
This commit is contained in:
@@ -83,7 +83,8 @@ type OssConfig struct {
|
||||
AccessKeyID string `mapstructure:"access_key_id"`
|
||||
AccessKeySecret string `mapstructure:"access_key_secret"`
|
||||
Bucket string `mapstructure:"bucket"`
|
||||
AssumeRoleArn string `mapstructure:"assume_role_arn"`
|
||||
UploadMaxSize int64 `mapstructure:"upload_max_size"` // 上传文件最大大小(字节)
|
||||
AssumeRoleArn string `mapstructure:"assume_role_arn"` // AWS S3专用,阿里云不需要
|
||||
PresignUrlExpire time.Duration `mapstructure:"presign_url_expire"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user