feat: add batch content governance actions

This commit is contained in:
2026-01-16 14:19:43 +08:00
parent e5f40287c3
commit daaacc3fa4
11 changed files with 431 additions and 3 deletions

View File

@@ -446,6 +446,15 @@ type SuperContentBatchReviewForm struct {
Reason string `json:"reason"`
}
type SuperContentBatchStatusForm struct {
// ContentIDs 待处置内容ID列表。
ContentIDs []int64 `json:"content_ids" validate:"required,min=1,dive,gt=0"`
// Status 目标内容状态unpublished/blocked
Status consts.ContentStatus `json:"status" validate:"required,oneof=unpublished blocked"`
// Reason 处置说明(可选,用于审计与通知作者)。
Reason string `json:"reason"`
}
type SuperTenantUserItem struct {
// User 用户信息。
User *SuperUserLite `json:"user"`