소스 검색

Merge remote-tracking branch 'origin/master' into debug

Roc 1 년 전
부모
커밋
4409f761e8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      services/oss.go

+ 2 - 2
services/oss.go

@@ -154,7 +154,7 @@ func GetOssSTSToken() (item *STSToken, err error) {
 			item.ExpiredTime = lastToken.ExpiredTime
 			item.RegionId = utils.RegionId
 			item.Bucketname = utils.Bucketname
-			item.Endpoint = utils.Endpoint
+			item.Endpoint = utils.Imghost
 			item.Imghost = utils.Imghost
 			return
 		}
@@ -214,7 +214,7 @@ func NewSTSToken() (item *STSToken, err error) {
 		item.ExpiredTime = expiration.Format(utils.FormatDateTime)
 		item.RegionId = utils.RegionId
 		item.Bucketname = utils.Bucketname
-		item.Endpoint = utils.Endpoint
+		item.Endpoint = utils.Imghost
 		item.Imghost = utils.Imghost
 	}
 	return