json.(@base_date, :st, :discusses_count, :game_count, :record_onsume_time, :prev_game, :next_game, :praise_count,
    :user_praise, :time_limit, :tomcat_url, :is_teacher, :myshixun_manager, :game, :challenge,
    :shixun, :myshixun, :git_url)
if @shixun.vnc && @st == 0
  json.vnc_url @vnc_url
  json.vnc_evaluate @vnc_evaluate
end
json.user do
  json.partial! 'users/user', user: @user
  json.identity @identity
end

if @st == 0
  json.(@task_result, :tpm_modified, :tpm_cases_modified, :mirror_name, :has_answer)

  # 测试集相关
  json.partial! 'games/testset_list'
else
  json.has_answer @has_answer
  json.choose_test_cases @choose_test_cases
  json.chooses @chooses
end