lisy
2023-07-27 05f49b22afa61ed9841619a844a3340dcb190b30
cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/UserMgrController.java
@@ -158,7 +158,6 @@
        if (user.getPassword().equals(oldMd5)) {
            String newMd5 = MD5.md5(newPwd);
            user.setPassword(newMd5);
            user.setPassWordUpdate(new Date());
            user.updateById();
            return SUCCESS_TIP;
        } else {
@@ -222,7 +221,6 @@
        User objectUser = UserFactory.createUser(user);
        //查找平台所属公司
        //Search for the company that owns the platform.
        objectUser.setPassWordUpdate(new Date());
        this.userService.save(objectUser);
        return SUCCESS_TIP;
@@ -335,11 +333,6 @@
        assertAuth(userId);
        this.userService.setStatus(userId, ManagerStatus.FREEZED.getCode());
        User user = userService.getById(userId);
        if (user.getRoleType() == 2){
        }else if (user.getRoleType() == 3){
        }
        return SUCCESS_TIP;
    }
@@ -357,11 +350,6 @@
        assertAuth(userId);
        this.userService.setStatus(userId, ManagerStatus.OK.getCode());
        User user = userService.getById(userId);
        if (user.getRoleType() == 2){
        }else if (user.getRoleType() == 3){
        }
        return SUCCESS_TIP;
    }