Commit b5239edf authored by shiyu's avatar shiyu

客态展示关注关系

parent 137b98dd
......@@ -257,7 +257,7 @@ public class FollowFansRecordServiceImpl implements FollowFansRecordService {
followFansRecordVo.setRelation("");
followFansRecordVo.setRelationCode(FollowFansEnum.RelationEnum.SELF.getCode());
}
if (currentFollowIdList.contains(id) && currentFansIdList.contains(id)) {
else if (currentFollowIdList.contains(id) && currentFansIdList.contains(id)) {
followFansRecordVo.setRelation("互相关注");
followFansRecordVo.setRelationCode(FollowFansEnum.RelationEnum.BOTH_FOLLOWED.getCode());
} else if (currentFollowIdList.contains(id) && !currentFansIdList.contains(id)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment