|
|
@ -1,7 +1,7 @@
|
|
|
|
json.(@challenge_choose, :challenge_id, :subject, :answer,
|
|
|
|
json.(@challenge_choose, :challenge_id, :subject, :answer,
|
|
|
|
:standard_answer, :score, :difficult,
|
|
|
|
:standard_answer, :score, :difficult,
|
|
|
|
:position, :category)
|
|
|
|
:position, :category)
|
|
|
|
|
|
|
|
json.st @challenge.st
|
|
|
|
# 选项的参数
|
|
|
|
# 选项的参数
|
|
|
|
json.choose_contents @challenge_choose.challenge_questions do |question|
|
|
|
|
json.choose_contents @challenge_choose.challenge_questions do |question|
|
|
|
|
json.(question, :option_name, :position, :right_key)
|
|
|
|
json.(question, :option_name, :position, :right_key)
|
|
|
|