dev_forum
daiao 6 years ago
parent 6c20350f6d
commit d21f863c17

@ -146,8 +146,9 @@ class MyshixunsController < ApplicationController
# status0表示评测成功
if status == "0"
if resubmit.present?
uid_logger("#############resubmit: #{resubmit}")
uid_logger("#############resubmitdaiao: #{resubmit}")
game.update_attributes!(:retry_status => 2, :resubmit_identifier => resubmit)
uid_logger("#############resubmit_identifier_resubmitdaiao: #{game.resubmit_identifier}")
challenge.path.split("").each do |path|
game_passed_code(path.try(:strip), myshixun, game_id)
end

Loading…
Cancel
Save