fix(缺陷管理): 带有图片的缺陷提交至禅道后,创建人不正确

Closes #5088
This commit is contained in:
shiziyuan9527 2021-07-28 17:47:43 +08:00 committed by 刘瑞斌
parent d875caa82a
commit d4efd9d76d
1 changed files with 1 additions and 1 deletions

View File

@ -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<String, Object> paramMap = new LinkedMultiValueMap<>();