From d8901891f6a2b93891d0a81921e5e8b61a0f9d41 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 25 Jun 2019 14:53:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=ADvnc=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/games_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb index 9b69ca058..67fdbfb9e 100644 --- a/app/controllers/games_controller.rb +++ b/app/controllers/games_controller.rb @@ -68,13 +68,11 @@ class GamesController < ApplicationController service_host = edu_setting('vnc_url') uri = "#{shixun_tomcat}/bridge/vnc/getvnc" params = {tpiID: @myshixun.id, :containers => "#{Base64.urlsafe_encode64(container_limit(@shixun.mirror_repositories))}"} - logger.info("#######_------uri:#{uri}, params: #{params}") res = uri_post uri, params if res && res['code'].to_i != 0 raise("实训云平台繁忙(繁忙等级:99)") end @url = "http://#{service_host}:#{res['port']}}/vnc_lite.html?password=headless" - Rails.logger.info("66666666sssssss#{url}") rescue Exception => e Rails.logger.error(e.message) end