mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
搜索用户增加email和单位
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
# 单表存储的信息可以放里面
|
||||
json.array! users do |user|
|
||||
json.username user.full_name
|
||||
json.login user.login
|
||||
json.user_id user.id
|
||||
json.image_url url_to_avatar(user)
|
||||
json.profile_completed user.profile_completed
|
||||
end
|
||||
|
||||
# 单表存储的信息可以放里面
|
||||
json.array! users do |user|
|
||||
json.username user.full_name
|
||||
json.login user.login
|
||||
json.user_id user.id
|
||||
json.mail user.mail
|
||||
json.custom_department user.custom_department
|
||||
json.image_url url_to_avatar(user)
|
||||
json.profile_completed user.profile_completed
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user