提交 c6b4dd09 编写于 作者: W wenyann

修改用户密码

上级 bd7841dd
......@@ -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());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册