Commit 86b859fe authored by neo's avatar neo

[Dev] add request body for export param

parent 2aae2b3e
...@@ -24,7 +24,7 @@ public class ReportController { ...@@ -24,7 +24,7 @@ public class ReportController {
ReportServiceImpl reportService; ReportServiceImpl reportService;
@RequestMapping(value = "export", method = RequestMethod.POST) @RequestMapping(value = "export", method = RequestMethod.POST)
public ResponseEntity getExportFile(ReportExportDto report) { public ResponseEntity getExportFile(@RequestBody ReportExportDto report) {
return ResponseEntity.ok(reportService.export(report.getReportData(), "~")); return ResponseEntity.ok(reportService.export(report.getReportData(), "~"));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment