冲突解决

This commit is contained in:
屈轩
2019-03-04 21:21:14 +08:00
+1 -5
View File
@@ -98,11 +98,7 @@ func (info *RemoteConsoleInfo) getOpenStackURL() (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) {