From 998b9a3695978b8ab5b06aceb6106821a8f7b86e Mon Sep 17 00:00:00 2001 From: dengbiao Date: Wed, 13 Nov 2024 19:14:58 +0800 Subject: [PATCH] 1 --- app/hdl/comm/hdl_comm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hdl/comm/hdl_comm.go b/app/hdl/comm/hdl_comm.go index 11ed133..1c2b68b 100644 --- a/app/hdl/comm/hdl_comm.go +++ b/app/hdl/comm/hdl_comm.go @@ -152,7 +152,7 @@ func GetOssUrl(c *gin.Context) { e.OutErr(c, e.ERR_AES_ENCODE, err.Error()) return } - signedURL, err := bucket.SignURL(objectName, oss.HTTPPut, 60) + signedURL, err := bucket.SignURL(objectName, oss.HTTPPut, 60*5) if err != nil { e.OutErr(c, e.ERR_AES_ENCODE, err.Error()) return