dev_forum
SylorHuang 5 years ago
parent 3587b33a81
commit 82f63e712f

@ -145,7 +145,8 @@ class Poll < ApplicationRecord
end end
if poll_answer_user.present? && poll_answer_user.start_at.blank? && user_poll_status == 3 if poll_answer_user.present? && poll_answer_user.start_at.blank? && user_poll_status == 3
user_status = 4 # user_status = 4
user_status = 5 #问卷用户存在,且未开始答题,且问卷已截止时,返回未提交标示
end end
user_status user_status

Loading…
Cancel
Save