Merge pull request #548 from neo-6/NeoSunDevelop

[修复阿里云OSS图片上传路径不一致错误]
This commit is contained in:
奇淼(piexlmax
2021-07-10 11:06:10 +08:00
committed by GitHub
4 changed files with 5 additions and 3 deletions
+1
View File
@@ -20,6 +20,7 @@ type AliyunOSS struct {
AccessKeySecret string `mapstructure:"access-key-secret" json:"accessKeySecret" yaml:"access-key-secret"`
BucketName string `mapstructure:"bucket-name" json:"bucketName" yaml:"bucket-name"`
BucketUrl string `mapstructure:"bucket-url" json:"bucketUrl" yaml:"bucket-url"`
BasePath string `mapstructure:"base-path" json:"basePath" yaml:"base-path"`
}
type TencentCOS struct {
Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket"`