feat: add content review flow
This commit is contained in:
@@ -391,6 +391,15 @@ type SuperContentReviewForm struct {
|
||||
Reason string `json:"reason"`
|
||||
}
|
||||
|
||||
type SuperContentBatchReviewForm struct {
|
||||
// ContentIDs 待审核内容ID列表。
|
||||
ContentIDs []int64 `json:"content_ids" validate:"required,min=1,dive,gt=0"`
|
||||
// Action 审核动作(approve/reject)。
|
||||
Action string `json:"action" validate:"required,oneof=approve reject"`
|
||||
// Reason 审核说明(驳回时填写,便于作者修正)。
|
||||
Reason string `json:"reason"`
|
||||
}
|
||||
|
||||
type SuperTenantUserItem struct {
|
||||
// User 用户信息。
|
||||
User *SuperUserLite `json:"user"`
|
||||
|
||||
Reference in New Issue
Block a user