修改
This commit is contained in:
parent
4ae4003ec3
commit
30a6b5cb7f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user