fix:调整上传设置
This commit is contained in:
parent
7af3d2b2aa
commit
c3286e41fa
|
@ -104,6 +104,7 @@ func (upload *Upload) UploadFileByBase64(req *UploadBaseReq) (*UploadBaseRes, er
|
|||
&s3.PutObjectInput{
|
||||
Bucket: bucketName,
|
||||
Key: &resourceId,
|
||||
CacheControl: aws.String("no-cache, must-revalidate"),
|
||||
},
|
||||
)
|
||||
|
||||
|
@ -228,6 +229,7 @@ func (upload *Upload) UploadFileByByte(req *UploadBaseReq) (*UploadBaseRes, erro
|
|||
&s3.PutObjectInput{
|
||||
Bucket: bucketName,
|
||||
Key: &resourceId,
|
||||
CacheControl: aws.String("no-cache, must-revalidate"),
|
||||
},
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user