新增:列表是否含投票

This commit is contained in:
yystopf 2025-10-22 09:51:23 +08:00
parent c8c08e143c
commit c50dee7b01
1 changed files with 1 additions and 0 deletions

View File

@ -9,5 +9,6 @@ json.communicates do
json.enroll_field communicate.enroll_field.to_s.split(",")
json.enroll_info current_user.watched?(communicate) ? communicate.watched_ext_info(current_user.id) : []
json.url communicate.url_or_uuid
json.has_vote communicate.vote.present?
end
end