From e24fc0cd1f8b4578b512888bfb8ee6fdb91bd9b3 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Wed, 4 Feb 2026 14:52:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BE=E6=8A=A5=E6=96=B0=E5=A2=9E=E4=B8=BE?= =?UTF-8?q?=E6=8A=A5=E5=86=85=E5=AE=B9=E5=92=8C=E5=9B=BE=E7=89=87=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../model/dto/approval/ApprovalDynamicReportedDTO.java | 5 +++++ .../dto/clienobject/approval/ApprovalDynamicReportedCO.java | 6 ++++++ .../other/app/command/dynamic/DynamicReportCmdExe.java | 2 ++ .../infra/database/rds/entity/dynamic/DynamicReport.java | 6 ++++++ 4 files changed, 19 insertions(+) diff --git a/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/dto/approval/ApprovalDynamicReportedDTO.java b/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/dto/approval/ApprovalDynamicReportedDTO.java index 7d0cf3b6..8bde7bd3 100644 --- a/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/dto/approval/ApprovalDynamicReportedDTO.java +++ b/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/model/dto/approval/ApprovalDynamicReportedDTO.java @@ -63,6 +63,11 @@ public class ApprovalDynamicReportedDTO implements Serializable { */ private String reportedContent; + /** + * 举报图片 + */ + private String reportedUrls; + /** * 动态图片. */ diff --git a/rc-service/rc-service-console/console-client/src/main/java/com/red/circle/console/app/dto/clienobject/approval/ApprovalDynamicReportedCO.java b/rc-service/rc-service-console/console-client/src/main/java/com/red/circle/console/app/dto/clienobject/approval/ApprovalDynamicReportedCO.java index c03f1784..0e1a386f 100644 --- a/rc-service/rc-service-console/console-client/src/main/java/com/red/circle/console/app/dto/clienobject/approval/ApprovalDynamicReportedCO.java +++ b/rc-service/rc-service-console/console-client/src/main/java/com/red/circle/console/app/dto/clienobject/approval/ApprovalDynamicReportedCO.java @@ -69,6 +69,12 @@ public class ApprovalDynamicReportedCO implements Serializable { */ private String reportedContent; + + /** + * 举报图片 + */ + private String reportedUrls; + /** * 动态图片. */ diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/DynamicReportCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/DynamicReportCmdExe.java index 1054aad5..d01dcbf8 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/DynamicReportCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/DynamicReportCmdExe.java @@ -38,6 +38,8 @@ public class DynamicReportCmdExe { dynamicReportService.save(new DynamicReport() .setApprovalStatus(0) .setDynamicContentId(content.getId()) + .setReportedContent(cmd.getReportedContent()) + .setReportedUrls(cmd.getImageUrls()) .setReportedUserId(content.getCreateUser()) .setReportUserId(cmd.getReqUserId()) .setReportType(cmd.getReportType()) diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/dynamic/DynamicReport.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/dynamic/DynamicReport.java index d7be1795..75278fd8 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/dynamic/DynamicReport.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/dynamic/DynamicReport.java @@ -68,6 +68,12 @@ public class DynamicReport implements Serializable { @TableField("reported_content") private String reportedContent; + /** + * 举报图片 + */ + @TableField("reported_urls") + private String reportedUrls; + /** * 状态(0.待处理 1.违规 2.未违规). */