mirror of https://github.com/gin-gonic/gin.git
Merge branch 'cxjava-master' into develop
Conflicts: README.md
This commit is contained in:
commit
50d9af710b
|
@ -191,6 +191,7 @@ func main() {
|
||||||
router := gin.Default()
|
router := gin.Default()
|
||||||
|
|
||||||
router.POST("/post", func(c *gin.Context) {
|
router.POST("/post", func(c *gin.Context) {
|
||||||
|
|
||||||
id := c.Query("id")
|
id := c.Query("id")
|
||||||
page := c.DefaultQuery("page", "0")
|
page := c.DefaultQuery("page", "0")
|
||||||
name := c.PostForm("name")
|
name := c.PostForm("name")
|
||||||
|
|
Loading…
Reference in New Issue