参考答案问题

dev_course
daiao 5 years ago
parent 904f2ce49c
commit 63c2dc69d2

@ -311,7 +311,7 @@ class GamesController < ApplicationController
# 扣除总分计算 # 扣除总分计算
@game.update_attributes!(:answer_open => 1, :answer_deduction => 100) @game.update_attributes!(:answer_open => 1, :answer_deduction => 100)
end end
@challenge_answers = @challenge.challenge_chooses @challenge_chooses = @challenge.challenge_chooses
rescue Exception => e rescue Exception => e
uid_logger_error("#######金币扣除异常: #{e.message}") uid_logger_error("#######金币扣除异常: #{e.message}")
raise ActiveRecord::Rollback raise ActiveRecord::Rollback

Loading…
Cancel
Save