添加真名
This commit is contained in:
parent
45d5f9e58b
commit
e4597f9ccc
|
@ -77,7 +77,7 @@ class UsersService
|
||||||
gender = @user.user_extensions.gender.nil? ? 0 : @user.user_extensions.gender
|
gender = @user.user_extensions.gender.nil? ? 0 : @user.user_extensions.gender
|
||||||
work_unit = get_user_work_unit @user
|
work_unit = get_user_work_unit @user
|
||||||
location = get_user_location @user
|
location = get_user_location @user
|
||||||
{:id => @user.id, :img_url => img_url, :nickname => @user.login, :gender => gender, :work_unit => work_unit, :mail => @user.mail, :location => location, :brief_introduction => @user.user_extensions.brief_introduction}
|
{:id => @user.id, :img_url => img_url,:realname => @user.realname, :nickname => @user.login, :gender => gender, :work_unit => work_unit, :mail => @user.mail, :location => location, :brief_introduction => @user.user_extensions.brief_introduction}
|
||||||
end
|
end
|
||||||
|
|
||||||
#忘记密码
|
#忘记密码
|
||||||
|
|
Loading…
Reference in New Issue