mirror of https://gitee.com/answerdev/answer.git
Merge branch 'ai/0.4.0/tag' into test
This commit is contained in:
commit
e91afef608
|
@ -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