diff --git a/src/main/java/com/huoran/iasf/service/impl/UserServiceImpl.java b/src/main/java/com/huoran/iasf/service/impl/UserServiceImpl.java index 36fd477..a01edba 100644 --- a/src/main/java/com/huoran/iasf/service/impl/UserServiceImpl.java +++ b/src/main/java/com/huoran/iasf/service/impl/UserServiceImpl.java @@ -239,7 +239,7 @@ public class UserServiceImpl extends ServiceImpl impleme public R resetPwd(String userId) { SysUser sysUser = baseMapper.selectById(userId); sysUser.setSalt(PasswordUtils.getSalt()); - String encode = PasswordUtils.encode("111aaa", sysUser.getSalt()); + String encode = PasswordUtils.encode("1122aa", sysUser.getSalt()); sysUser.setPassword(encode); int update = baseMapper.updateById(sysUser); return update>0 ? R.success("重置成功") : R.fail("重置失败"); @@ -261,7 +261,7 @@ public class UserServiceImpl extends ServiceImpl impleme public void addUser(SysUser vo) { vo.setSalt(PasswordUtils.getSalt()); - String encode = PasswordUtils.encode("111aaa", vo.getSalt()); + String encode = PasswordUtils.encode("1122aa", vo.getSalt()); vo.setPassword(encode); vo.setStatus(1); vo.setCreateWhere(1); @@ -600,7 +600,7 @@ public class UserServiceImpl extends ServiceImpl impleme if ("0".equals(usernameId)){ SysUser vo = new SysUser(); vo.setSalt(PasswordUtils.getSalt()); - String encode = PasswordUtils.encode("111aaa", vo.getSalt()); + String encode = PasswordUtils.encode("1122aa", vo.getSalt()); vo.setRealName(realName); vo.setPhone(getPhone); vo.setJobNumber(jobNumber);