You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
645 B
22 lines
645 B
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)
|
|
if @shixun.vnc
|
|
json.vnc_url @vnc_url
|
|
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
|