fix(接口测试): 禅道pro版缺陷同步图片路径错误问题
--user=zhaoqian 解决禅道pro版缺陷同步图片路径错误问题
This commit is contained in:
parent
380168beab
commit
44bf3bd0ea
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue