修复关注列表-新增非关注博主,丢失的bug

This commit is contained in:
jianzhichu
2025-12-02 09:20:11 +08:00
parent 6c99825548
commit de5813a874
9 changed files with 33 additions and 13 deletions
+1
View File
@@ -92,6 +92,7 @@ namespace dy.net.repository
// 1. 查询现有关注列表
List<DouyinFollowed> existFollows = await Db.Queryable<DouyinFollowed>()
.Where(x => x.mySelfId == myselfUserId)
.Where(x=>!x.IsNoFollowed) //排除手动添加但未关注的用户
.ToListAsync() ?? new List<DouyinFollowed>();
// 2. 提取现有和当前的SecUid集合(去重优化)