|
|
@ -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
|
|
|
|