mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
5 lines
272 B
Ruby
5 lines
272 B
Ruby
json.total_count @tasks.total_count
|
|
json.tasks @tasks.each do |task|
|
|
json.(task, :id, :type, :uuid, :is_succeed, :is_delivered, :payload_content, :request_content, :response_content)
|
|
json.delivered_time Time.at(task.delivered*10**-9).strftime("%Y-%m-%d %H:%M:%S")
|
|
end |