From 798b595dfb5836044c23a2d5db1c8e26a2002552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=88=E8=BD=A9?= Date: Mon, 4 Mar 2019 21:12:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=BF=E5=85=8D=E5=A4=9A=E6=AC=A1=E7=BC=96?= =?UTF-8?q?=E7=A0=81=E5=90=8E,qcloud=E4=B8=8D=E8=83=BD=E8=A7=A3=E5=BC=80ur?= =?UTF-8?q?l=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/webconsole/session/remote_console.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkg/webconsole/session/remote_console.go b/pkg/webconsole/session/remote_console.go index f3a4f40ba2..8d0642f252 100644 --- a/pkg/webconsole/session/remote_console.go +++ b/pkg/webconsole/session/remote_console.go @@ -92,11 +92,7 @@ func (info *RemoteConsoleInfo) GetConnectParams() (string, error) { } func (info *RemoteConsoleInfo) getQcloudUrl() (string, error) { - base := "https://img.qcloud.com/qcloud/app/active_vnc/index.html" - params := url.Values{ - "InstanceVncUrl": {info.Url}, - } - return fmt.Sprintf("%s?%s", base, params.Encode()), nil + return "https://img.qcloud.com/qcloud/app/active_vnc/index.html?InstanceVncUrl=" + info.Url, nil } func (info *RemoteConsoleInfo) getAliyunUrl() (string, error) {