whyclxw
2 天以前 cf9a5039e6db9d1d5963e3fe1a37d00169ec2ef7
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")