修改个人信息
This commit is contained in:
parent
9d99eee92e
commit
7f1826ebf2
|
@ -35,7 +35,7 @@ module Mobile
|
||||||
authenticate!
|
authenticate!
|
||||||
us = UsersService.new
|
us = UsersService.new
|
||||||
ue = us.edit_user params.merge(id: current_user.id)
|
ue = us.edit_user params.merge(id: current_user.id)
|
||||||
present :data, user, with: Mobile::Entities::User
|
present :data, ue.user, with: Mobile::Entities::User
|
||||||
present :status, 0
|
present :status, 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue