fix:upload设置
This commit is contained in:
parent
c8f2f1346d
commit
850c8f0d39
|
@ -209,9 +209,6 @@ func (upload *Upload) UploadFileByByte(req *UploadBaseReq) (*UploadBaseRes, erro
|
||||||
upload.AwsSession.Config.Region = aws.String("us-west-1")
|
upload.AwsSession.Config.Region = aws.String("us-west-1")
|
||||||
}
|
}
|
||||||
|
|
||||||
// 设置AWS会话的区域
|
|
||||||
upload.AwsSession.Config.Region = aws.String("us-west-1")
|
|
||||||
|
|
||||||
// 创建新的S3服务实例
|
// 创建新的S3服务实例
|
||||||
svc := s3.New(upload.AwsSession)
|
svc := s3.New(upload.AwsSession)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user