修改
This commit is contained in:
parent
90a57845ce
commit
fb62be1f46
@ -426,7 +426,7 @@ func ExportOrderInfo(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var exportUrl = strings.Replace(strings.Replace(filePath, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1), "runtime", "static", 1)
|
var exportUrl = strings.Replace(strings.Replace(filePath, ".", fmt.Sprintf("%s://%s", httpType, c.Request.Host), 1), "runtime", "static", 1)
|
||||||
//var exportUrl = fmt.Sprintf("%s%s/%s", httpType, c.Request.Host, dirPath + path)
|
//var exportUrl = fmt.Sprintf("%s%s/%s", httpType, c.Request.Host, dirPath + path)
|
||||||
fmt.Println("exportUrl : ", exportUrl)
|
fmt.Println("exportUrl : ", exportUrl)
|
||||||
service.Success(c, &bundleModel.ExportResponse{ExportUrl: exportUrl})
|
service.Success(c, &bundleModel.ExportResponse{ExportUrl: exportUrl})
|
||||||
|
Loading…
Reference in New Issue
Block a user