Skip to content

Commit

Permalink
修复系统用户更新时用户头像消失的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wangl1989 committed Jun 16, 2018
1 parent e59f340 commit 5bbf45d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ public RestResponse edit(@RequestBody User user){
}
}
}
user.setIcon(oldUser.getIcon());
userService.updateUser(user);
//先解除用户跟角色的关系
userService.dropUserRolesByUserId(user.getId());
Expand Down

0 comments on commit 5bbf45d

Please sign in to comment.