修改用户密码
This commit is contained in:
parent
bd7841ddcc
commit
c6b4dd0948
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue