From 174b9c4033e4bab0b48a03c0bde362bbfa37a8c6 Mon Sep 17 00:00:00 2001 From: nothamor Date: Tue, 8 Nov 2022 16:22:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=88=A4=E5=AE=9A=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d14a7b6..f4be1bd 100644 --- a/main.go +++ b/main.go @@ -58,7 +58,7 @@ func main() { return } - if intSize >= 1000 { + if intSize > 1000 { responseMsg = "size参数不合法,size必须小于等于1000" if returnType == "json" { c.JSON(http.StatusOK, JSONResponse{