终端检测代码提交
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user