From 44bf3bd0ea2e57c3eeb24ec37bbdd3a3158a3364 Mon Sep 17 00:00:00 2001 From: zhaoqian Date: Tue, 19 Apr 2022 11:19:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E7=A6=85=E9=81=93pro=E7=89=88=E7=BC=BA=E9=99=B7=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E5=9B=BE=E7=89=87=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=zhaoqian 解决禅道pro版缺陷同步图片路径错误问题 --- .../java/io/metersphere/track/issue/client/ZentaoClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/track/issue/client/ZentaoClient.java b/backend/src/main/java/io/metersphere/track/issue/client/ZentaoClient.java index f642c742b7..7a29f2936b 100644 --- a/backend/src/main/java/io/metersphere/track/issue/client/ZentaoClient.java +++ b/backend/src/main/java/io/metersphere/track/issue/client/ZentaoClient.java @@ -183,7 +183,7 @@ public abstract class ZentaoClient extends BaseClient { String suffix = split[split.length - 1]; if (StringUtils.equals("biz", suffix)) { suffix = baseUrl; - } else if (!StringUtils.equalsAny(suffix, "zentao", "zentaopms", "zentaopro", "zentaobiz")) { + } else if (!StringUtils.equalsAny(suffix, "zentao", "pro", "zentaopms", "zentaopro", "zentaobiz")) { suffix = ""; } else { suffix = "/" + suffix;