From d38c1a31f7ba2b02ae93ad33538f92f9bc187959 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Wed, 25 Dec 2024 12:02:05 +0800 Subject: [PATCH] 1 --- app/router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/router/router.go b/app/router/router.go index 86d0c1a..9947001 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -67,7 +67,7 @@ func Init() *gin.Engine { } func route(r *gin.RouterGroup) { - r.GET("/test", hdl.Demo) + r.POST("/test", hdl.Demo) r.POST("/login", hdl.Login) { //打包机调用,不需要校验