From 088c9fc4a18b6b876df434fd1f3627bbfc739b42 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 25 Jun 2019 18:06:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E4=BE=8B=E6=A8=A1=E5=BC=8F=E6=B2=A1?= =?UTF-8?q?=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/games_service.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/services/games_service.rb b/app/services/games_service.rb index d732bb48..c77e7437 100644 --- a/app/services/games_service.rb +++ b/app/services/games_service.rb @@ -584,11 +584,11 @@ class GamesService params[:needPortMapping] = 8080 if myshixun.mirror_name.include?("Web") # 中间层交互 - if shixun.sigle_training - uri = "#{shixun_tomcat}/bridge/game/persistence/gameEvaluate" - else + #if shixun.sigle_training + # uri = "#{shixun_tomcat}/bridge/game/persistence/gameEvaluate" + #else uri = "#{shixun_tomcat}/bridge/game/gameEvaluate" - end + #end res = interface_post uri, params, 502 # 单评测类型(比较快的类型,实时返回结果,即不用中间层再回调trainint_task_status)