whycxzp
2024-01-11 58812e817088e7e09d2d43c58edf0e222c048020
src/main/java/com/whyc/controller/ProcedureDocController.java
@@ -8,6 +8,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@Api(tags = "流程卡和SOP")
@@ -26,8 +27,8 @@
    @GetMapping("download")
    @ApiOperation("文件下载")
    public void download(@RequestParam String filePath, HttpServletResponse response){
        service.download(filePath, response);
    public void download(@RequestParam String filePath, HttpServletRequest req, HttpServletResponse response){
        service.download(filePath,req, response);
    }
    @PostMapping("listPage")