Explorar o código

Merge branch 'bugfix_11/23'

zwxi hai 1 ano
pai
achega
faa789062d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      services/oss.go

+ 4 - 0
services/oss.go

@@ -183,6 +183,10 @@ func GetOssSTSToken() (item *STSToken, err error) {
 			item.AccessKeySecret = lastToken.AccessKeySecret
 			item.SecurityToken = lastToken.SecurityToken
 			item.ExpiredTime = lastToken.ExpiredTime
+			item.RegionId = utils.RegionId
+			item.Bucketname = utils.Bucketname
+			item.Endpoint = utils.Imghost
+			item.Imghost = utils.Imghost
 			return
 		}
 	}