From 30a6b5cb7f177ed6832fc493d05321bb74ab79f1 Mon Sep 17 00:00:00 2001 From: jhc Date: Fri, 9 May 2025 16:42:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/service/bundle/bundleOrder.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/service/bundle/bundleOrder.go b/pkg/service/bundle/bundleOrder.go index 6c9e342..549172d 100644 --- a/pkg/service/bundle/bundleOrder.go +++ b/pkg/service/bundle/bundleOrder.go @@ -411,7 +411,8 @@ func ExportOrderInfo(c *gin.Context) { var httpType string fmt.Printf("c.Request.RequestURI %+v\n", c.Request.RequestURI) 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(filePath)