From 985a2c493616d91ff6990feaa880fb6cf8381c5f Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 14 Dec 2022 11:55:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E7=A6=85=E9=81=93=E5=90=8C=E6=AD=A5=E5=9B=BE=E7=89=87=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E6=A0=BC=E5=BC=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/service/issue/platform/ZentaoPlatform.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-track/backend/src/main/java/io/metersphere/service/issue/platform/ZentaoPlatform.java b/test-track/backend/src/main/java/io/metersphere/service/issue/platform/ZentaoPlatform.java index c93fc8f7e6..753fe67950 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/issue/platform/ZentaoPlatform.java +++ b/test-track/backend/src/main/java/io/metersphere/service/issue/platform/ZentaoPlatform.java @@ -555,10 +555,10 @@ public class ZentaoPlatform extends AbstractIssuePlatform { if (Arrays.stream(imgArray).anyMatch(imgType -> StringUtils.equals(imgType, srcContent.substring(srcContent.indexOf('.') + 1)))) { if (zentaoClient instanceof ZentaoGetClient) { - path = zentaoClient.getBaseUrl() + "/index.php?m=file&f=read&fileID=" + srcContent; + path = "/index.php?m=file&f=read&fileID=" + srcContent; } else { // 禅道开源版 - path = zentaoClient.getBaseUrl() + "/file-read-" + srcContent; + path = "/file-read-" + srcContent; } } else { return result;