diff --git a/api/requests/Question.go b/api/requests/Question.go index ed4dd2a..0e12e5f 100644 --- a/api/requests/Question.go +++ b/api/requests/Question.go @@ -106,5 +106,5 @@ type PutQuestionStatus struct { // PutQuestionHideStatus 操作问题隐藏状态 type PutQuestionHideStatus struct { - IsHide int `json:"is_hide" form:"is_hide" label:"状态" validate:"required,oneof=0 1"` // 是否隐藏(0:否 1:是) + IsHide int `json:"is_hide" form:"is_hide" label:"状态" validate:"oneof=0 1"` // 是否隐藏(0:否 1:是) }