改为post请求

This commit is contained in:
aikai 2024-07-04 16:41:52 +08:00
parent cf8412e830
commit 87e7bb7437

View File

@ -83,9 +83,9 @@ public class AttendanceController {
}
@GetMapping("/export-excel")
@PostMapping("/export-excel")
@Operation(summary = "导出考勤报表 Excel")
public void exportAttendanceExcel(@Valid ExportAttendanceExcelDTO dto,
public void exportAttendanceExcel(@RequestBody ExportAttendanceExcelDTO dto,
HttpServletResponse response) {
attendanceService.exportAttendanceExcel(response, dto);
}