阿里云oss
This commit is contained in:
parent
1e2d00edaf
commit
e246123ce2
@ -40,9 +40,8 @@ func (c *ALiYunOSSClient) GetSignUrl(bucket string, key string, expires time.Dur
|
||||
result, err = c.ossClient.Presign(
|
||||
context.Background(),
|
||||
&oss.PutObjectRequest{
|
||||
Bucket: oss.Ptr(bucket),
|
||||
Key: oss.Ptr(key),
|
||||
ContentType: oss.Ptr("application/octet-stream"),
|
||||
Bucket: oss.Ptr(bucket),
|
||||
Key: oss.Ptr(key),
|
||||
},
|
||||
oss.PresignExpires(expires),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user