dev_aliyun
daiao 6 years ago
parent c4ee5b138e
commit 796f41f6a9

@ -846,7 +846,7 @@ class GamesService
experience = 0
game_status = game.status
had_done = game.had_done
game_challenge = Challenge.select([:id, :score, :position, :shixun_id, :web_route, :picture_path]).find(game.challenge_id)
game_challenge = Challenge.select([:id, :score, :position, :shixun_id, :web_route, :show_type]).find(game.challenge_id)
shixun = Shixun.select([:id, :status, :user_id, :test_set_permission]).find(game_challenge.shixun_id)
if params[:resubmit].blank? # 非重新评测

Loading…
Cancel
Save