This commit is contained in:
张良(004796)
2024-03-06 15:28:52 +08:00
parent 8978da0189
commit 41d16546b6
2 changed files with 2 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ public class UserFollowServiceImpl extends ServiceImpl<UserFollowMapper, UserFol
this.remove(Wrappers.lambdaQuery(UserFollow.class)
.eq(UserFollow::getUserId,fromUserId)
.eq(UserFollow::getFollowUser, starOrVisitorReq.getToUserId()));
userCountService.star(fromUserId, starOrVisitorReq.getToUserId());
userCountService.unStar(fromUserId, starOrVisitorReq.getToUserId());
return true;
}

View File

@@ -66,7 +66,6 @@ public class MessageHandleApplication {
return;
}
FdCtxData fdCtxData = fdCtxDataCache.getByRoomId(session.getId());
handler.processOn(room,fdCtxData, jsonObject);
handler.processOn(room,fdCtxData, jsonObject.getJSONObject("data"));
}
}