From 0c587a4cb2ac968f0af6b3e0de6d5be528913cf7 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 16 Oct 2025 12:28:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=85=B3=E6=B3=A8=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=A5=BD=E5=8F=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../user/UserSupportRelationFollowOrCancelCmdExe.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserSupportRelationFollowOrCancelCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserSupportRelationFollowOrCancelCmdExe.java index e9368292..2ff77c14 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserSupportRelationFollowOrCancelCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserSupportRelationFollowOrCancelCmdExe.java @@ -141,6 +141,14 @@ public class UserSupportRelationFollowOrCancelCmdExe { .setIncr(Boolean.FALSE) .setType(CounterEnum.SUBSCRIPTION) ); + + relationshipFriendService.removeFriend(cmd.requiredReqUserId(), cmd.getUserId()); + userRelationsCalculatorGateway.process(new UserRelationsCalculator() + .setUserId(cmd.requiredReqUserId()) + .setSubUserId(cmd.getUserId()) + .setIncr(Boolean.FALSE) + .setType(CounterEnum.FRIEND) + ); return Boolean.TRUE; }