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.
educoder/app/views/exercises/_exercise_detail.json.jbuilder

9 lines
467 B

json.extract! exercise, :id, :exercise_name,:is_public,:created_at,:exercise_status
json.lock_status lock_icon
json.publish_time exercise_publish_time # 试卷的发布时间
json.end_time exercise_end_time # 试卷的截止时间
json.exercise_answer exercise_answer # 已提交试卷的用户
json.exercise_unanswer exercise_unanswer # 已查看试卷/开始答题,但是未提交试卷的用户
json.current_status current_status #答题的状态