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()