diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/strategy/ApprovalDynamicReportStrategy.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/strategy/ApprovalDynamicReportStrategy.java index 1049d330..60a16292 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/strategy/ApprovalDynamicReportStrategy.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/strategy/ApprovalDynamicReportStrategy.java @@ -41,17 +41,17 @@ public class ApprovalDynamicReportStrategy implements ApprovalStrategy { Set userIds = getUserIds(param); //保存数据 - dynamicMessageService.saveBatch(dto.getContent(), dto.getContentId(), userIds, dto.getTags()); +// dynamicMessageService.saveBatch(dto.getContent(), dto.getContentId(), userIds, dto.getTags()); //发送消息标记 - dynamicMessageService.mapByUserIdsByContentId(userIds) - .forEach((key, list) -> newsletterClient - .send(new NewsletterResultCmd() - .setUserIds(List.of(key)) - .setEvent(NewsletterEvent.DYNAMIC_MESSAGE_QUANTITY) - .setData(list.size()) - ) - ); +// dynamicMessageService.mapByUserIdsByContentId(userIds) +// .forEach((key, list) -> newsletterClient +// .send(new NewsletterResultCmd() +// .setUserIds(List.of(key)) +// .setEvent(NewsletterEvent.DYNAMIC_MESSAGE_QUANTITY) +// .setData(list.size()) +// ) +// ); } diff --git a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/approval/impl/ApprovalDynamicReportClientServiceImpl.java b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/approval/impl/ApprovalDynamicReportClientServiceImpl.java index 40295218..9ed260f1 100644 --- a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/approval/impl/ApprovalDynamicReportClientServiceImpl.java +++ b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/approval/impl/ApprovalDynamicReportClientServiceImpl.java @@ -128,11 +128,11 @@ public class ApprovalDynamicReportClientServiceImpl implements ApprovalDynamicRe DynamicMessageEnum.DYNAMIC_VIOLATION); //发送消息给被举报人 - newsletterClient.send( - new NewsletterResultCmd() - .setUserIds(List.of(content.getCreateUser())) - .setEvent(NewsletterEvent.DYNAMIC_MESSAGE_QUANTITY) - .setData(1)); +// newsletterClient.send( +// new NewsletterResultCmd() +// .setUserIds(List.of(content.getCreateUser())) +// .setEvent(NewsletterEvent.DYNAMIC_MESSAGE_QUANTITY) +// .setData(1)); //发送消息给举报人 sendMq(cmd.getApprovalUserId(), content, complaints, DynamicMessageEnum.REPORT_SUCCESS,