dengsixing 1 year ago
parent
commit
38099df50d

+ 1 - 1
src/main/java/com/fdkankan/download/controller/BatchDownloadController.java

@@ -64,7 +64,7 @@ public class BatchDownloadController {
 
     @PostMapping("downloadLaserScene")
     public ResultData downloadMeshScene(@RequestParam(value = "file") MultipartFile file) throws Exception {
-        return batchDonloadService.downloadMeshScene(file,version);
+        return batchDonloadService.downloadLaserScene(file);
     }
 
     @GetMapping("test")

+ 3 - 2
src/main/java/com/fdkankan/download/service/impl/DownloadServiceImpl.java

@@ -122,7 +122,8 @@ public class DownloadServiceImpl implements IDownloadService {
     private FYunFileServiceInterface fYunFileService;
     @Autowired
     private RedisUtil redisUtil;
-
+    @Autowired
+    private LaserService laserService;
 
 
     @Override
@@ -331,7 +332,7 @@ public class DownloadServiceImpl implements IDownloadService {
 
     @Override
     public void downloadLaserScene(String num) throws Exception {
-
+        laserService.downloadHandler(num);
     }
 
     private void zipGetInfoJson(String num, cn.hutool.json.JSONObject getInfo) throws Exception{