新增:评论/操作记录总数返回

This commit is contained in:
2023-03-06 10:33:26 +08:00
parent b5383bfa5a
commit 2827e28b07
3 changed files with 21 additions and 11 deletions

View File

@@ -1,3 +1,6 @@
json.total_journals_count @total_journals_count
json.total_operate_journals_count @total_operate_journals_count
json.total_comment_journals_count @total_comment_journals_count
json.total_count @journals.total_count
json.journals @journals do |journal|
json.partial! "detail", journal: journal