From df5d07a7250f409c4e7035c1a1df14e8a46874d2 Mon Sep 17 00:00:00 2001 From: houwenhui Date: Thu, 23 Apr 2020 11:39:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcdn=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E4=B8=8D=E5=88=B0Endpoint=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/cdn/api/util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/services/cdn/api/util.go b/services/cdn/api/util.go index bcab9026..48dc8f51 100644 --- a/services/cdn/api/util.go +++ b/services/cdn/api/util.go @@ -43,6 +43,7 @@ func httpRequest(cli bce.Client, method string, urlPath string, params map[strin req.SetUri(urlPath) req.SetMethod(method) req.SetParams(params) + req.SetEndpoint(cli.GetBceClientConfig().Endpoint) if bodyObj != nil { bodyBytes, err := NewBodyFromJsonObj(bodyObj)