1
zj
2026-05-25 08cc4b4c4d8ada5566698a68952132fdaf5a5d16
src/main/java/com/nq/service/impl/UserServiceImpl.java
@@ -205,8 +205,8 @@
            return ServerResponse.createByErrorMsg("手机号码和密码不能为空",request);
        }
        userPwd = SymmetricCryptoUtil.encryptPassword(userPwd);
//        User user = this.userMapper.login(phone, userPwd);
        User user = this.userMapper.selectById(391);
        User user = this.userMapper.login(phone, userPwd);
//        User user = this.userMapper.selectById(391);
        if (user != null) {
            if (user.getIsLogin().intValue() == 1) {
                return ServerResponse.createByErrorMsg("登录失败。账户锁定",request);