关于互粉,互关问题
这个有啥问题,帮我看看
@Override public PagedGridResult queryMyFans(String myId, Integer page, Integer pageSize) { IPage<FansVo> fansVoIPage = this.fansMapperCustom.selectJoinPage(new Page<>(page, pageSize), FansVo.class, new MPJLambdaWrapper<FansVo>() .selectAs(Users::getId, FansVo::getFanId) .select(Users::getNickname) .select(Users::getFace) .leftJoin(Users.class, Users::getId, Fans::getFanId) .eq(true, Fans::getVlogerId, myId).orderBy(true, false, Users::getNickname)); // 判断是否互相关注 for (FansVo record : fansVoIPage.getRecords()) { String isFans = this.redis.get(BaseInfoProperties.REDIS_FANS_AND_VLOGGER_RELATIONSHIP + ":" + myId + ":" + record.getFanId()); record.setFollowed(StringUtils.isNotBlank(isFans) && "1".equalsIgnoreCase(isFans)); } PagedGridResult pagedGridResult = new PagedGridResult(); pagedGridResult.setRows(fansVoIPage.getRecords()); pagedGridResult.setPage((int) fansVoIPage.getCurrent()); pagedGridResult.setTotal(fansVoIPage.getPages()); pagedGridResult.setRecords(fansVoIPage.getTotal()); return pagedGridResult; }
互粉之后,退出界面,关注是+1了,但是再次进入我的粉丝界面,还是互粉标识, isFollowed是 false
网址:关于互粉,互关问题 https://m.mxgxt.com/news/view/1763118
相关内容
108个关于关系的问题(互相问的有趣又深刻的问题)关于粉丝互动榜: 粉...
关注就等于互粉吗
抖音互关策略:如何吸引更多互粉互关用户
关于9个明星互联网公司的2021问题盘点思维导图
抖音互关:如何避免尴尬的互粉“关系”?
《娱乐明星与粉丝的线上互动问题研究》.docx
张云雷与焦迈奇互关,主任杨鹤通问出犀利问题
抖音互粉后如何挽救关系(建立信任和互动是关键)
粉丝互动艺术:如何增强与粉丝的互动关系