|
|
@ -1,6 +1,6 @@
|
|
|
|
json.course_is_end @course.is_end # true表示已结束,false表示未结束
|
|
|
|
json.course_is_end @course.is_end # true表示已结束,false表示未结束
|
|
|
|
json.extract! @exercise, :id,:exercise_name,:exercise_description,:show_statistic
|
|
|
|
json.extract! @exercise, :id,:exercise_name,:exercise_description,:show_statistic
|
|
|
|
json.time @user_left_time
|
|
|
|
json.time (@user_left_time.to_i / 60)
|
|
|
|
|
|
|
|
|
|
|
|
json.exercise_status @ex_status
|
|
|
|
json.exercise_status @ex_status
|
|
|
|
|
|
|
|
|
|
|
|