From 62e9576d361e5740e5672c34a54a359191877c17 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 16 Jan 2026 17:19:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=89=E9=BB=91=E7=94=A8=E6=88=B7=E5=BC=BA?= =?UTF-8?q?=E5=88=B6=E4=BA=92=E7=9B=B8=E5=8F=96=E6=B6=88=E5=85=B3=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/command/user/UserShieldBlackAddCmdExe.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserShieldBlackAddCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserShieldBlackAddCmdExe.java index 3a89bdea..cae0df52 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserShieldBlackAddCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserShieldBlackAddCmdExe.java @@ -51,9 +51,8 @@ public class UserShieldBlackAddCmdExe { shieldBlackService.saveShieldBlack(cmd.requiredReqUserId() , cmd.getShieldUserId()); - if (shieldBlackService.checkShieldBlack(cmd.getShieldUserId(), cmd.requiredReqUserId())) { - relationshipFriendService.removeFriend(cmd.requiredReqUserId(), cmd.getShieldUserId()); - } + relationshipFriendService.removeFriend(cmd.requiredReqUserId(), cmd.getShieldUserId()); + relationshipFriendService.removeFriend(cmd.getShieldUserId(), cmd.requiredReqUserId()); // 拉黑房间 BaseInfo beBlackUser = baseInfoService.getById(cmd.getShieldUserId());