had done 初始值
This commit is contained in:
parent
5831744b16
commit
42b1fd5c24
|
@ -138,7 +138,7 @@ class GamesController < ApplicationController
|
|||
else
|
||||
outputs = outputs.map{|result| [result.code, result.id]}
|
||||
end
|
||||
render :json => {status: @game.status, output: latest_output, results: outputs, had_done: had_done}
|
||||
render :json => {status: @game.status, output: "服务器网络异常", results: outputs, had_done: 0}
|
||||
end
|
||||
|
||||
# 自动推送下一个任务
|
||||
|
|
Loading…
Reference in New Issue