mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
6 lines
177 B
Ruby
6 lines
177 B
Ruby
json.count @users.total_count
|
|
json.users do
|
|
json.array! @users.each do |user|
|
|
json.extract! user, :id, :login, :real_name, :identity, :school_name, :hidden_phone
|
|
end
|
|
end |