update
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user