From f25d77675ff1842570550008d0ec6c71e91ae264 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Wed, 4 Feb 2026 17:17:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E5=9B=BE=E7=89=87=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../circle/other/app/listener/CensorProfileListener.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/CensorProfileListener.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/CensorProfileListener.java index 431fd054..163fa3b8 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/CensorProfileListener.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/CensorProfileListener.java @@ -160,11 +160,13 @@ public class CensorProfileListener implements MessageListener { if (Boolean.TRUE.equals(isViolation.get())) { //删除动态与好友动态 - dynamicCommon.systemDeleteDynamic(censorProfileEvent.dynamicId()); +// dynamicCommon.systemDeleteDynamic(censorProfileEvent.dynamicId()); // 机器审核违规则删除这条动态全部图片 for (DynamicPicture picture : pictures) { - ossServiceClient.remove(picture.getResourceUrl()); + if (PhotoCensorStatusEnum.VIOLATION.name().equals(picture.getViolation())) { + ossServiceClient.remove(picture.getResourceUrl()); + } } }