修改个人信息
This commit is contained in:
parent
9d99eee92e
commit
7f1826ebf2
|
@ -35,7 +35,7 @@ module Mobile
|
|||
authenticate!
|
||||
us = UsersService.new
|
||||
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
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue