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