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; }