fix(接口测试): 禅道pro版缺陷同步图片路径错误问题

--user=zhaoqian
解决禅道pro版缺陷同步图片路径错误问题
This commit is contained in:
zhaoqian 2022-04-19 11:19:05 +08:00 committed by 刘瑞斌
parent 380168beab
commit 44bf3bd0ea
1 changed files with 1 additions and 1 deletions

View File

@ -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;