新增:发布人和状态接口

This commit is contained in:
2023-02-07 17:12:43 +08:00
parent 4bc945028b
commit 587facfb3d
7 changed files with 43 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
json.total_count @statues.total_count
json.statues @statues.each do |status|
json.(status, :id, :name)
end