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)