From d4efd9d76da207a05395fde7b1b48892e941a0ef Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 28 Jul 2021 17:47:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E5=B8=A6=E6=9C=89=E5=9B=BE=E7=89=87=E7=9A=84=E7=BC=BA=E9=99=B7?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=87=B3=E7=A6=85=E9=81=93=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E4=BA=BA=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #5088 --- .../main/java/io/metersphere/track/issue/ZentaoPlatform.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/track/issue/ZentaoPlatform.java b/backend/src/main/java/io/metersphere/track/issue/ZentaoPlatform.java index 9a74a099be..794396d2d7 100644 --- a/backend/src/main/java/io/metersphere/track/issue/ZentaoPlatform.java +++ b/backend/src/main/java/io/metersphere/track/issue/ZentaoPlatform.java @@ -344,7 +344,7 @@ public class ZentaoPlatform extends AbstractIssuePlatform { private String uploadFile(FileSystemResource resource) { String id = ""; - setConfig(); + zentaoClient.setConfig(getUserConfig()); String session = zentaoClient.login(); HttpHeaders httpHeaders = new HttpHeaders(); MultiValueMap paramMap = new LinkedMultiValueMap<>();