评测无法展示信息"

dev_hjm_build
daiao 6 years ago
parent 9b1af2ce6c
commit fe48b78c84

@ -517,6 +517,7 @@ class GamesService
# status为2已经通过关是重新评测
if game.status == 2
resubmit = params[:resubmit]
game.update_attributes!(:retry_status => 1) if params[:first].to_i == 1
else
# 重新评测不影响已通关的实训状态first为第一次评测通过前端JS轮询获取
game.update_attributes!(:status => 1) if params[:first].to_i == 1

Loading…
Cancel
Save