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/polls/_poll_detail.json.jbuilder

10 lines
450 B

6 years ago
json.extract! poll, :id, :polls_name,:is_public,:created_at
json.polls_status poll_status
json.lock_status lock_icon
json.publish_time poll_publish_time # 问卷的发布时间
json.end_time poll_end_time # 问卷的截止时间
json.poll_answer poll_answer # 已提交问卷的用户
json.poll_unanswer poll_unanswer # 已查看问卷/开始答题,但是未提交问卷的用户
json.current_status current_status #答题的状态