had done 初始值

This commit is contained in:
huang 2017-03-29 16:05:01 +08:00
parent 5831744b16
commit 42b1fd5c24
1 changed files with 1 additions and 1 deletions

View File

@ -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
# 自动推送下一个任务