Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
loongten
metersphere
Commits
65305dda
Commit
65305dda
authored
3 years ago
by
zhaoqian
Committed by
刘瑞斌
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix(接口测试): 禅道pro版缺陷同步图片路径错误问题
--user=zhaoqian 解决禅道pro版缺陷同步图片路径错误问题
parent
b350a81c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/src/main/java/io/metersphere/track/issue/client/ZentaoClient.java
+1
-1
.../java/io/metersphere/track/issue/client/ZentaoClient.java
with
1 addition
and
1 deletion
+1
-1
backend/src/main/java/io/metersphere/track/issue/client/ZentaoClient.java
+
1
-
1
View file @
65305dda
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment