|
@@ -152,7 +152,7 @@ func GetOssUrl(c *gin.Context) { |
|
|
e.OutErr(c, e.ERR_AES_ENCODE, err.Error()) |
|
|
e.OutErr(c, e.ERR_AES_ENCODE, err.Error()) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
signedURL, err := bucket.SignURL(objectName, oss.HTTPPut, 60) |
|
|
|
|
|
|
|
|
signedURL, err := bucket.SignURL(objectName, oss.HTTPPut, 60*5) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
e.OutErr(c, e.ERR_AES_ENCODE, err.Error()) |
|
|
e.OutErr(c, e.ERR_AES_ENCODE, err.Error()) |
|
|
return |
|
|
return |
|
|