mirror of https://gitee.com/answerdev/answer.git
fix: remove site write required tag val
This commit is contained in:
parent
59daaa5c5d
commit
5dd8fa4e7f
|
@ -39,7 +39,7 @@ type SiteBrandingReq struct {
|
||||||
|
|
||||||
// SiteWriteReq site write request
|
// SiteWriteReq site write request
|
||||||
type SiteWriteReq struct {
|
type SiteWriteReq struct {
|
||||||
RequiredTag bool `validate:"required" form:"required_tag" json:"required_tag"`
|
RequiredTag bool `validate:"omitempty" form:"required_tag" json:"required_tag"`
|
||||||
RecommendTags []string `validate:"omitempty" form:"recommend_tags" json:"recommend_tags"`
|
RecommendTags []string `validate:"omitempty" form:"recommend_tags" json:"recommend_tags"`
|
||||||
ReservedTags []string `validate:"omitempty" form:"reserved_tags" json:"reserved_tags"`
|
ReservedTags []string `validate:"omitempty" form:"reserved_tags" json:"reserved_tags"`
|
||||||
UserID string `json:"-"`
|
UserID string `json:"-"`
|
||||||
|
|
Loading…
Reference in New Issue