From 6f881cfd9c53f72285ed81236f94a10e81341fa1 Mon Sep 17 00:00:00 2001 From: jhc Date: Fri, 9 May 2025 16:52:42 +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 --- .idea/AugmentWebviewStateStore.xml | 10 ++++++++++ pkg/service/bundle/bundleOrder.go | 5 +---- 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 .idea/AugmentWebviewStateStore.xml diff --git a/.idea/AugmentWebviewStateStore.xml b/.idea/AugmentWebviewStateStore.xml new file mode 100644 index 0000000..5b1d7f4 --- /dev/null +++ b/.idea/AugmentWebviewStateStore.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/pkg/service/bundle/bundleOrder.go b/pkg/service/bundle/bundleOrder.go index 082e837..a9ece2f 100644 --- a/pkg/service/bundle/bundleOrder.go +++ b/pkg/service/bundle/bundleOrder.go @@ -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}) }