This commit is contained in:
蒋海成 2025-05-09 16:52:42 +08:00
parent 7fc9c57be7
commit 6f881cfd9c
2 changed files with 11 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -427,11 +427,8 @@ func ExportOrderInfo(c *gin.Context) {
}
}
fmt.Println(httpType)
fmt.Println(filePath)
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)
service.Success(c, e.Ok, &bundleModel.ExportResponse{ExportUrl: exportUrl})
service.Success(c, &bundleModel.ExportResponse{ExportUrl: exportUrl})
}