From f18c3ec306e3aa56861ee13bc40cec5d6c575bee Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Mon, 14 Oct 2024 10:26:29 +0800 Subject: [PATCH] 1 --- api/requests/Question.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:是) }