From 6ded4a43e314069b2b8bf8f1c22f18bbd0417794 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Mon, 2 Feb 2026 17:43:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E8=B5=9E=E5=A4=84=E7=90=86=E6=88=91?= =?UTF-8?q?=E7=9A=84=E7=82=B9=E8=B5=9E=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/command/dynamic/DynamicCommentLikeCmdExe.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/DynamicCommentLikeCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/DynamicCommentLikeCmdExe.java index 35982b71..333790e1 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/DynamicCommentLikeCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/DynamicCommentLikeCmdExe.java @@ -13,6 +13,7 @@ import com.red.circle.other.infra.database.rds.entity.dynamic.DynamicMessage; import com.red.circle.other.infra.database.rds.service.dynamic.DynamicCommentLikeService; import com.red.circle.other.infra.database.rds.service.dynamic.DynamicContentService; import com.red.circle.other.infra.database.rds.service.dynamic.DynamicMessageService; +import com.red.circle.other.infra.database.rds.service.dynamic.DynamicPictureService; import com.red.circle.other.inner.asserts.DynamicErrorCode; import com.red.circle.tool.core.date.TimestampUtils; import com.red.circle.tool.core.num.NumUtils; @@ -39,6 +40,7 @@ public class DynamicCommentLikeCmdExe { private final DynamicPopularService dynamicPopularService; private final DynamicCommentLikeService dynamicCommentLikeService; private final DynamicMessageService dynamicMessageService; + private final DynamicPictureService dynamicPictureService; public Long execute(DynamicLikeCmd cmd) { @@ -131,6 +133,7 @@ public class DynamicCommentLikeCmdExe { message.setId(IdWorkerUtils.getId()); message.setDynamicContentId(cmd.getDynamicId()); message.setDynamicCommentId(cmd.getCommentId()); + message.setContent(dynamicPictureService.getFirstNormalPic(cmd.getDynamicId())); message.setType(type.name()); message.setToUserId(cmd.getToUserId()); message.setCreateTime(TimestampUtils.now());