mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
7 lines
195 B
Ruby
7 lines
195 B
Ruby
if @notice && @notice.end_time > Time.now
|
|
json.system_update true
|
|
json.system_score @notice.notes.rstrip
|
|
json.(@notice, :subject, :start_time, :end_time)
|
|
else
|
|
json.system_update false
|
|
end |