From 07f72bd9f987cc5aad23674c18c452c79f111950 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Fri, 13 Dec 2024 18:37:38 +0800 Subject: [PATCH] update --- app/hdl/hdl_demo.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/hdl/hdl_demo.go b/app/hdl/hdl_demo.go index db478a9..fe1000b 100644 --- a/app/hdl/hdl_demo.go +++ b/app/hdl/hdl_demo.go @@ -26,6 +26,8 @@ import ( // @Failure 400 {object} md.Response "具体错误" // @Router /api/v1/test [GET] func Demo(c *gin.Context) { + fmt.Println("headers::::", c.Request.Header) + utils.FilePutContents("headers", utils.SerializeStr(c.Request.Header)) var args interface{} if c.Request.Method == "GET" { args = c.Request.URL.Query()