nidapeng
2024-05-06 400c712a036e97878fe63944ed2cfba303ab178c
server/system_service/src/main/java/com/doumee/service/system/impl/SystemLoginServiceImpl.java
@@ -132,7 +132,7 @@
        }
        String pwd = Utils.Secure.encryptPassword(new String(dto.getPassword()), user.getSalt());
        // 比较密码
        if( StringUtils.equals(pwd, user.getPassword())){
        if( !StringUtils.equals(pwd, user.getPassword())){
            throw new BusinessException(ResponseStatus.ACCOUNT_INCORRECT);
        }
        // 获取登录用户信息