From 8970145d5bcc8febe9fd34707b7050aa742272ac Mon Sep 17 00:00:00 2001 From: root Date: Sun, 7 Jul 2024 20:58:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20main.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index e23aea7..64e52ad 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( func main() { router := gin.Default() router.GET("/", func(c *gin.Context) { - Q := c.Query("Q") + Q := c.Query("q") c.JSON(200, gin.H{ "message": "Hello "+Q, })