举报新增举报内容和图片字段
This commit is contained in:
parent
810a6c672e
commit
e24fc0cd1f
@ -63,6 +63,11 @@ public class ApprovalDynamicReportedDTO implements Serializable {
|
||||
*/
|
||||
private String reportedContent;
|
||||
|
||||
/**
|
||||
* 举报图片
|
||||
*/
|
||||
private String reportedUrls;
|
||||
|
||||
/**
|
||||
* 动态图片.
|
||||
*/
|
||||
|
||||
@ -69,6 +69,12 @@ public class ApprovalDynamicReportedCO implements Serializable {
|
||||
*/
|
||||
private String reportedContent;
|
||||
|
||||
|
||||
/**
|
||||
* 举报图片
|
||||
*/
|
||||
private String reportedUrls;
|
||||
|
||||
/**
|
||||
* 动态图片.
|
||||
*/
|
||||
|
||||
@ -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())
|
||||
|
||||
@ -68,6 +68,12 @@ public class DynamicReport implements Serializable {
|
||||
@TableField("reported_content")
|
||||
private String reportedContent;
|
||||
|
||||
/**
|
||||
* 举报图片
|
||||
*/
|
||||
@TableField("reported_urls")
|
||||
private String reportedUrls;
|
||||
|
||||
/**
|
||||
* 状态(0.待处理 1.违规 2.未违规).
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user