This commit is contained in:
2023-04-21 15:03:06 +08:00
parent e3c36a95fd
commit fbf3052d7b
+1 -1
View File
@@ -14,7 +14,7 @@ func Index(c *gin.Context) {
if p < 1 { if p < 1 {
p = 1 p = 1
} }
limit := 5 limit := 10
start := (p - 1) * limit start := (p - 1) * limit
list := make([]*Article, 0) list := make([]*Article, 0)