123
This commit is contained in:
@@ -97,6 +97,7 @@ public class UserFollowServiceImpl extends ServiceImpl<UserFollowMapper, UserFol
|
||||
userFollow.setFollowUser(realStarUser);
|
||||
this.save(userFollow);
|
||||
userCountService.star(fromUserId, realStarUser);
|
||||
// 给你关注的人发消息
|
||||
yunxinHttpService.followedSendMessage(realStarUser, user, LocalDateTime.now());
|
||||
}
|
||||
}
|
||||
@@ -120,6 +121,7 @@ public class UserFollowServiceImpl extends ServiceImpl<UserFollowMapper, UserFol
|
||||
userFollow.setFollowUser(starOrVisitorReq.getToUserId());
|
||||
this.save(userFollow);
|
||||
userCountService.star(fromUserId, starOrVisitorReq.getToUserId());
|
||||
// 给你关注的人发消息
|
||||
yunxinHttpService.followedSendMessage(starOrVisitorReq.getToUserId(), user, LocalDateTime.now());
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user