Merge branch 'master' of https://github.com/cxjava/gin into cxjava-master
This commit is contained in:
commit
8a530c026b
@ -191,7 +191,7 @@ func main() {
|
|||||||
|
|
||||||
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("id", "0")
|
page := c.DefaultQuery("page", "0")
|
||||||
name := c.PostForm("name")
|
name := c.PostForm("name")
|
||||||
message := c.PostForm("message")
|
message := c.PostForm("message")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user