Explorar el Código

Correct the query parameter name.

Charles hace 10 años
padre
commit
e6cd47a004
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -191,7 +191,7 @@ func main() {
 
 	router.POST("/post", func(c *gin.Context) {
         id := c.Query("id")
-        page := c.DefaultQuery("id", "0")
+        page := c.DefaultQuery("page", "0")
         name := c.PostForm("name")
         message := c.PostForm("message")