Commit 110ef303 authored by 刘基明's avatar 刘基明

评论的主题+用户信息

parent 436eb668
......@@ -79,5 +79,12 @@ public class FollowRelService {
.eq(FollowRelEntity::getFollowerId,followerId));
}
public boolean checkFollow(String idolId,String followerId){
return followRelMapper.selectCount(new LambdaQueryWrapper<FollowRelEntity>()
.eq(FollowRelEntity::getFollowUserId,idolId)
.eq(FollowRelEntity::getFollowerId,followerId))
>0;
}
}
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