|
|
@ -846,7 +846,7 @@ class GamesService
|
|
|
|
experience = 0
|
|
|
|
experience = 0
|
|
|
|
game_status = game.status
|
|
|
|
game_status = game.status
|
|
|
|
had_done = game.had_done
|
|
|
|
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)
|
|
|
|
shixun = Shixun.select([:id, :status, :user_id, :test_set_permission]).find(game_challenge.shixun_id)
|
|
|
|
|
|
|
|
|
|
|
|
if params[:resubmit].blank? # 非重新评测
|
|
|
|
if params[:resubmit].blank? # 非重新评测
|
|
|
|