更新密码单独执行

This commit is contained in:
Captain.B 2020-05-12 11:34:26 +08:00
parent 158f4b2d71
commit ea97ba0023
1 changed files with 0 additions and 2 deletions

View File

@ -133,8 +133,6 @@ public class UserService {
}
public void updateUser(User user) {
// MD5
user.setPassword(CodingUtil.md5(user.getPassword()));
user.setUpdateTime(System.currentTimeMillis());
userMapper.updateByPrimaryKeySelective(user);
}