修改用户密码

This commit is contained in:
wenyann 2020-05-11 16:20:03 +08:00
parent bd7841ddcc
commit c6b4dd0948
1 changed files with 2 additions and 1 deletions

View File

@ -53,8 +53,9 @@ public class UserService {
User user1 = userMapper.selectByPrimaryKey(id);
if (user1 != null) {
MSException.throwException("user_id_already_exists");
}else{
createUser(user);
}
createUser(user);
return getUserDTO(user.getId());
}