fix(测试跟踪): 禅道同步图片地址格式错误
This commit is contained in:
parent
7981856b25
commit
985a2c4936
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue