You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
json.user_id user.id
|
|
json.login user.login
|
|
json.name user.full_name
|
|
json.grade user.grade
|
|
# json.email user.mail # 邮箱原则上不暴露的,如果实在需要的话只能对某些具体的接口公开
|
|
json.image_url url_to_avatar(user)
|
|
json.user_url user_path(user)
|
|
json.school user.school_name |