dev_trainings
daiao 6 years ago
parent 2aec2cafb7
commit 0e94c25b8d

@ -533,7 +533,6 @@ class GamesService
# 更新评测次数
game.update_column(:evaluate_count, (game.evaluate_count.to_i + 1))
shixun.increment!(:evaluate_count)
# 清空代码评测信息
msg = game.run_code_message
msg.update_attributes(:status => 0, :message => nil) if msg.present?

Loading…
Cancel
Save