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