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) { //打包机调用,不需要校验