|
|
@ -6,6 +6,6 @@ json.array! @games do |game|
|
|
|
|
json.identifier get_game_identifier(@shixun.task_pass, game, @identity)
|
|
|
|
json.identifier get_game_identifier(@shixun.task_pass, game, @identity)
|
|
|
|
json.get_gold game.user_get_gold_and_experience(@shixun.status, challenge)[0]
|
|
|
|
json.get_gold game.user_get_gold_and_experience(@shixun.status, challenge)[0]
|
|
|
|
json.get_experience game.user_get_gold_and_experience(@shixun.status, challenge)[1]
|
|
|
|
json.get_experience game.user_get_gold_and_experience(@shixun.status, challenge)[1]
|
|
|
|
json.view_answer_time view_answer_time(game, user_id)
|
|
|
|
json.view_answer_time view_answer_time(game, current_user.id)
|
|
|
|
json.finished_time game.end_time
|
|
|
|
json.finished_time game.end_time
|
|
|
|
end
|
|
|
|
end
|