fix(UI 自动化): idea 插件导入不能添加状态码问题修复

--bug=1013969 --user=张大海 【idea插件】idea插件导入的接口,响应内容状态码不能添加 https://www.tapd.cn/55049933/s/1181977
This commit is contained in:
zhangdahai112 2022-06-15 10:08:12 +08:00 committed by zhangdahai112
parent 318af6d00f
commit aa0f9755a4
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ public abstract class PostmanAbstractParserParser<T> extends ApiImportAbstractPa
addBodyHeader(request);
HttpResponse response = new HttpResponse();
BeanUtils.copyBean(response, request);
response.setStatusCode(new ArrayList<>());
response.setType("HTTP");
return response;
}