src/main/java/com/ruoyi/staff/controller/StaffOnJobController.java
@@ -90,8 +90,8 @@ */ @PostMapping("/exportCopy") @ApiOperation("word模板合同在职员工导出") public String exportCopy(HttpServletResponse response, StaffOnJob staffOnJob) throws Exception{ return staffOnJobService.exportCopy(response, staffOnJob); public AjaxResult exportCopy(HttpServletResponse response, StaffOnJob staffOnJob) throws Exception{ return AjaxResult.success(staffOnJobService.exportCopy(response, staffOnJob)); }