feat(接口测试): swagger和har重定向默认

--user=郭雨琦
--bug=1014465
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001014465
This commit is contained in:
guoyuqi 2022-07-01 18:31:45 +08:00 committed by jianxing
parent be63a1da7c
commit fce04cc444
2 changed files with 1 additions and 1 deletions

View File

@ -161,6 +161,7 @@ public abstract class ApiImportAbstractParser<T> implements ApiImportParser<T> {
request.setHeaders(new ArrayList<>());
request.setArguments(new ArrayList<>());
request.setRest(new ArrayList<>());
request.setFollowRedirects(true);
Body body = new Body();
body.initKvs();
body.initBinary();

View File

@ -1473,7 +1473,6 @@ public class ApiDefinitionService {
model.setId(exiteModelList.get(0).getId());
esbApiParamsMapper.updateByPrimaryKeyWithBLOBs(model);
}
}
}