chengf
2025-08-18 73ad6ba1c639e8b231291a1efd7fae0d6d394143
service-user/src/main/java/com/java110/user/cmd/user/UserLoginCmd.java
@@ -156,6 +156,14 @@
            tmpUserDto.setPassword("");
            tmpUserDto.setToken(token);
            tmpUserDto.setKey(newKey);
            //查询认证关系
            OwnerAppUserDto dto = new OwnerAppUserDto();
            dto.setUserId(userDtos.get(0).getUserId());
            dto.setLink(userDtos.get(0).getTel());
            List<OwnerAppUserDto> dtos = ownerAppUserV1InnerServiceSMOImpl.queryOwnerAppUsers(dto);
            if(!CollectionUtils.isEmpty(dtos)){
                tmpUserDto.setAuditState(dtos.get(0).getState());
            }
            context.setResponseEntity(ResultVo.createResponseEntity(tmpUserDto));
        } catch (Exception e) {
            logger.error("登录异常:", e);
@@ -244,7 +252,6 @@
            if (flag < 1) {
                throw new CmdException("添加用户业主关系失败");
            }
            userDtos.get(0).setAuditState(ownerAppUserPo.getState());
        }
        return userDtos;
    }