fixed users/me返回email,用于三方登录

This commit is contained in:
“xxq250” 2022-10-21 17:44:02 +08:00
parent 47aba3528d
commit 969cbcfe60
1 changed files with 1 additions and 0 deletions

View File

@ -3,3 +3,4 @@ json.login @user.login
json.user_id @user.id
json.image_url url_to_avatar(@user)
json.admin @user.admin
json.email @user.mail