mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-15 21:06:39 +08:00
Merge 284dc787ecb28f3637db9a10f7eb8a8bd801107a into 3368e6525bdc1773411fb9a9d0a008e36810002b
This commit is contained in:
commit
0f16a88c2a
@ -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…
x
Reference in New Issue
Block a user