tpi接口去除user_url

dev_course
daiao 6 years ago
parent 66c2f52f48
commit d335f9315e

@ -4,5 +4,4 @@ json.name user.full_name
json.grade user.grade
# json.email user.mail # 邮箱原则上不暴露的,如果实在需要的话只能对某些具体的接口公开
json.image_url url_to_avatar(user)
json.user_url "/users/#{user.login}"
json.school user.school_name
Loading…
Cancel
Save