xx
wang-hao-jie
2021-11-03 633be87bcdaab325daa6d4f74f5294e14660cfd7
xboot-modules/xboot-base/src/main/java/cn/exrick/xboot/base/controller/manage/UserController.java
@@ -315,7 +315,7 @@
        // 校验是否已存在
        checkUserInfo(u.getUsername(), u.getMobile(), u.getEmail());
        u.setKey(u.getPassword());
        String encryptPass = new BCryptPasswordEncoder().encode(u.getPassword());
        u.setPassword(encryptPass);
        if (StrUtil.isNotBlank(u.getDepartmentId())) {