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.未违规). */