diff --git a/conf/types.go b/conf/types.go index cf52b79..6b053f3 100644 --- a/conf/types.go +++ b/conf/types.go @@ -49,11 +49,14 @@ type RpcConf struct { } type OssConf struct { + Platform string `yaml:"Platform"` // oss平台:aliyun,tencent,huawei,aws,minio Site string `yaml:"Site"` // oss站点HOST Endpoint string `yaml:"Endpoint"` // oss服务接入地址 Region string `yaml:"Region"` // oss服务区域 AccessKeyID string `yaml:"AccessKeyId"` // oss AccessKeyId AccessKeySecret string `yaml:"AccessKeySecret"` // oss AccessKeySecret + UseSSL bool `yaml:"UseSSL"` // 是否使用SSL + } type MqConf struct {