|
@@ -62,11 +62,6 @@ public class BatchDownloadController {
|
|
|
return batchDonloadService.downloadMeshScene(file,version);
|
|
return batchDonloadService.downloadMeshScene(file,version);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @PostMapping("downloadLaserScene")
|
|
|
|
|
- public ResultData downloadMeshScene(@RequestParam(value = "file") MultipartFile file) throws Exception {
|
|
|
|
|
- return batchDonloadService.downloadLaserScene(file);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
@GetMapping("test")
|
|
@GetMapping("test")
|
|
|
public ResultData test() throws Exception {
|
|
public ResultData test() throws Exception {
|
|
|
final OperatingSystem os = OshiUtil.getOs();
|
|
final OperatingSystem os = OshiUtil.getOs();
|
|
@@ -82,6 +77,11 @@ public class BatchDownloadController {
|
|
|
// return ResultData.ok(snService.list());
|
|
// return ResultData.ok(snService.list());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @PostMapping("downloadLaserScene")
|
|
|
|
|
+ public ResultData downloadMeshScene(@RequestParam(value = "file") MultipartFile file) throws Exception {
|
|
|
|
|
+ return batchDonloadService.downloadLaserScene(file);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@GetMapping("testlaser")
|
|
@GetMapping("testlaser")
|
|
|
public ResultData testlaser(String num) throws Exception {
|
|
public ResultData testlaser(String num) throws Exception {
|
|
|
TimeInterval timer = DateUtil.timer();
|
|
TimeInterval timer = DateUtil.timer();
|