mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
5 lines
133 B
Ruby
5 lines
133 B
Ruby
json.id user.id
|
|
json.name user.real_name == '游客' ? '-' : user.real_name
|
|
json.login user.login
|
|
json.image_url url_to_avatar(user)
|