Merge branch 'develop' into educoder

dev_bj
daiao 5 years ago
commit 357a6844c6

@ -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)

Loading…
Cancel
Save