终端检测代码提交

This commit is contained in:
wurui
2023-03-20 14:05:17 +08:00
parent 196e599cd8
commit e13b18d6ff
3 changed files with 45 additions and 44 deletions

View File

@@ -22,7 +22,7 @@ import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.*;
import java.util.List;
/**
@@ -124,8 +124,8 @@ public class PmsTerminalDetectionController extends BaseController {
}
@ApiOperation("检测报告下载")
@PostMapping(value = "/reportDownload")
public InputStreamResource reportDownload(@RequestBody TerminalParam.DownloadParam param) throws IOException {
@GetMapping(value = "/reportDownload")
public InputStreamResource reportDownload( TerminalParam.DownloadParam param) throws IOException {
InputStreamResource minIoUploadResDTO = pmsTerminalDetectionService.reportDownload(param);
return minIoUploadResDTO;
}