Skip to content

Commit

Permalink
修改pdf导出响应参数为空bug
Browse files Browse the repository at this point in the history
  • Loading branch information
周靖杰 committed Sep 8, 2016
1 parent 627d4c7 commit 921a628
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
web/node_modules
api/.idea/
*.iml
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ public Object export(Parameter parameter,@RequestParam("id")String id) throws Do
section.add(table);
}
}
String responseArg = in.getRequestHeaders();
String responseArg = in.getResponseArgs();
if(org.apache.commons.lang3.StringUtils.isNotBlank(responseArg)){
List<RequestResponseArgs> responseArgs = JSON.parseObject(responseArg, new TypeReference<List<RequestResponseArgs>>(){});
if(responseArgs.size()>0) {
Expand Down

0 comments on commit 921a628

Please sign in to comment.