From d21f863c17cbef3ebe320e90f070de508f9b87b0 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 17 Jul 2019 17:11:19 +0800 Subject: [PATCH] 1 --- app/controllers/myshixuns_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/myshixuns_controller.rb b/app/controllers/myshixuns_controller.rb index 79429a30d..dc6faee13 100644 --- a/app/controllers/myshixuns_controller.rb +++ b/app/controllers/myshixuns_controller.rb @@ -146,8 +146,9 @@ class MyshixunsController < ApplicationController # status:0表示评测成功 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