重新评测的问题

dev_hjm_build
daiao 6 years ago
parent fe48b78c84
commit cd00e9d824

@ -558,7 +558,7 @@ class MyshixunsController < ApplicationController
next_game.update_column(:status, 0) if next_game.present? && next_game.status == 3
else # status == "-1" 表示返回结果错误
if !resubmit.blank?
game.update_attributes!(:retry_status => 1, :resubmit_identifier => resubmit)
game.update_attributes!(:retry_status => 2, :resubmit_identifier => resubmit)
else
game.update_attributes!(:status => 0)
end

Loading…
Cancel
Save