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;