mirror of https://gitee.com/answerdev/answer.git
update short id
This commit is contained in:
parent
2d87c8d494
commit
8070bcdcf4
|
@ -7287,7 +7287,7 @@ const docTemplate = `{
|
|||
"properties": {
|
||||
"permalink": {
|
||||
"type": "integer",
|
||||
"maximum": 3,
|
||||
"maximum": 4,
|
||||
"minimum": 0
|
||||
},
|
||||
"robots": {
|
||||
|
@ -7304,7 +7304,7 @@ const docTemplate = `{
|
|||
"properties": {
|
||||
"permalink": {
|
||||
"type": "integer",
|
||||
"maximum": 3,
|
||||
"maximum": 4,
|
||||
"minimum": 0
|
||||
},
|
||||
"robots": {
|
||||
|
|
|
@ -7275,7 +7275,7 @@
|
|||
"properties": {
|
||||
"permalink": {
|
||||
"type": "integer",
|
||||
"maximum": 3,
|
||||
"maximum": 4,
|
||||
"minimum": 0
|
||||
},
|
||||
"robots": {
|
||||
|
@ -7292,7 +7292,7 @@
|
|||
"properties": {
|
||||
"permalink": {
|
||||
"type": "integer",
|
||||
"maximum": 3,
|
||||
"maximum": 4,
|
||||
"minimum": 0
|
||||
},
|
||||
"robots": {
|
||||
|
|
|
@ -1408,7 +1408,7 @@ definitions:
|
|||
schema.SiteSeoReq:
|
||||
properties:
|
||||
permalink:
|
||||
maximum: 3
|
||||
maximum: 4
|
||||
minimum: 0
|
||||
type: integer
|
||||
robots:
|
||||
|
@ -1420,7 +1420,7 @@ definitions:
|
|||
schema.SiteSeoResp:
|
||||
properties:
|
||||
permalink:
|
||||
maximum: 3
|
||||
maximum: 4
|
||||
minimum: 0
|
||||
type: integer
|
||||
robots:
|
||||
|
|
|
@ -28,7 +28,7 @@ type SiteGeneralReq struct {
|
|||
}
|
||||
|
||||
type SiteSeoReq struct {
|
||||
PermaLink int `validate:"required,lte=3,gte=0" form:"permalink" json:"permalink"`
|
||||
PermaLink int `validate:"required,lte=4,gte=0" form:"permalink" json:"permalink"`
|
||||
Robots string `validate:"required" form:"robots" json:"robots"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue