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.
14 lines
470 B
14 lines
470 B
6 years ago
|
#阶段成绩
|
||
|
json.stage_list do
|
||
|
json.array! games do |game|
|
||
|
json.position game.position
|
||
|
json.name game.challenge.subject
|
||
|
json.evaluate_count 0
|
||
|
json.finished_time 0
|
||
|
json.time_consuming 0
|
||
|
json.myself_experience 0 #经验值
|
||
|
json.experience game.challenge.all_score #总经验值
|
||
|
json.user_score user_score.round(1).to_s #用户获得的分数
|
||
|
json.game_score game_score.round(1).to_s #该关卡的总分数
|
||
|
end
|
||
|
end
|