mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
2 lines
104 B
Ruby
2 lines
104 B
Ruby
json.user_account @user.phone.present? ? @user.phone : (@user.mail.present? ? @user.mail : @user.login)
|