mirror of https://gitee.com/answerdev/answer.git
Merge branch 'ai_0.3_install_api' into 'test'
add siteinfo See merge request opensource/answer!179
This commit is contained in:
commit
b380a333c5
|
@ -5,6 +5,8 @@ type SiteGeneralReq struct {
|
||||||
Name string `validate:"required,gt=1,lte=128" form:"name" json:"name"`
|
Name string `validate:"required,gt=1,lte=128" form:"name" json:"name"`
|
||||||
ShortDescription string `validate:"required,gt=3,lte=255" form:"short_description" json:"short_description"`
|
ShortDescription string `validate:"required,gt=3,lte=255" form:"short_description" json:"short_description"`
|
||||||
Description string `validate:"required,gt=3,lte=2000" form:"description" json:"description"`
|
Description string `validate:"required,gt=3,lte=2000" form:"description" json:"description"`
|
||||||
|
SiteUrl string `validate:"required,gt=1,lte=128" form:"site_url" json:"site_url"`
|
||||||
|
ContactEmail string `validate:"required,gt=1,lte=128" form:"contact_email" json:"contact_email"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// SiteInterfaceReq site interface request
|
// SiteInterfaceReq site interface request
|
||||||
|
|
Loading…
Reference in New Issue