diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 5eca6ccf9..cccea9aed 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -325,6 +325,7 @@ class ApplicationController < ActionController::Base unless file_content.present? raise("获取文件代码异常") end + logger.info("#######game_id:#{game_id}, file_content:#{file_content}") game_code = GameCode.where(:game_id => game_id, :path => path).first if game_code.nil? GameCode.create!(:game_id => game_id, :new_code => file_content, :path => path) diff --git a/app/controllers/myshixuns_controller.rb b/app/controllers/myshixuns_controller.rb index 169f689f6..649516a03 100644 --- a/app/controllers/myshixuns_controller.rb +++ b/app/controllers/myshixuns_controller.rb @@ -90,7 +90,6 @@ class MyshixunsController < ApplicationController # params[:pics] = "a.png,b.png,c.png" def training_task_status - logger.info("##################training_task_status_start#{params[:jsonTestDetails][:buildID]}") ActiveRecord::Base.transaction do begin t1 = Time.now