feat: add batch content report processing
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user