修正判定条件
This commit is contained in:
parent
871d321852
commit
174b9c4033
2
main.go
2
main.go
@ -58,7 +58,7 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if intSize >= 1000 {
|
if intSize > 1000 {
|
||||||
responseMsg = "size参数不合法,size必须小于等于1000"
|
responseMsg = "size参数不合法,size必须小于等于1000"
|
||||||
if returnType == "json" {
|
if returnType == "json" {
|
||||||
c.JSON(http.StatusOK, JSONResponse{
|
c.JSON(http.StatusOK, JSONResponse{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user