fix(接口测试): 禅道pro版缺陷同步图片路径错误问题
--user=zhaoqian 解决禅道pro版缺陷同步图片路径错误问题
This commit is contained in:
parent
b350a81c54
commit
65305dda5c
|
@ -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