feat: add batch content report processing

This commit is contained in:
2026-01-16 17:59:18 +08:00
parent 028c462eaa
commit b796636b5d
11 changed files with 599 additions and 8 deletions

View File

@@ -98,3 +98,15 @@ type SuperContentReportProcessForm struct {
// Reason 处理说明(可选,用于审计记录)。
Reason string `json:"reason"`
}
// SuperContentReportBatchProcessForm 超管内容举报批量处理表单。
type SuperContentReportBatchProcessForm struct {
// ReportIDs 待处理举报ID列表。
ReportIDs []int64 `json:"report_ids" validate:"required,min=1,dive,gt=0"`
// Action 处理动作approve/reject
Action string `json:"action" validate:"required,oneof=approve reject"`
// ContentAction 内容处置动作block/unpublish/ignore仅在 approve 时生效。
ContentAction string `json:"content_action"`
// Reason 处理说明(可选,用于审计记录)。
Reason string `json:"reason"`
}