This commit is contained in:
蒋海成 2025-05-09 16:42:46 +08:00
parent 4ae4003ec3
commit 30a6b5cb7f

View File

@ -411,7 +411,8 @@ func ExportOrderInfo(c *gin.Context) {
var httpType string var httpType string
fmt.Printf("c.Request.RequestURI %+v\n", c.Request.RequestURI) fmt.Printf("c.Request.RequestURI %+v\n", c.Request.RequestURI)
fmt.Printf("c.Request.URL %+v\n", c.Request.URL) fmt.Printf("c.Request.URL %+v\n", c.Request.URL)
httpType = strings.Split(c.Request.URL.String(), ":")[0] fmt.Printf("c.Request.Origin %+v\n", c.Keys["Origin"])
httpType = strings.Split(c.Keys["Origin"].(string), ":")[0]
fmt.Println(httpType) fmt.Println(httpType)
fmt.Println(filePath) fmt.Println(filePath)