add phone to get user info apig

dev_forum
p31729568 5 years ago
parent d7c0ef56f0
commit 2ac2bbf5d8

@ -7,6 +7,7 @@ json.is_teacher @user.user_extension&.teacher?
json.user_identity @user.identity json.user_identity @user.identity
json.tidding_count 0 json.tidding_count 0
json.user_phone_binded @user.phone.present? json.user_phone_binded @user.phone.present?
json.phone @user.phone
json.profile_completed @user.profile_completed? json.profile_completed @user.profile_completed?
if @course if @course
json.course_identity @course_identity json.course_identity @course_identity

Loading…
Cancel
Save