dengbiao 1 week ago
parent
commit
998b9a3695
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/hdl/comm/hdl_comm.go

+ 1
- 1
app/hdl/comm/hdl_comm.go View File

@@ -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


Loading…
Cancel
Save