Prechádzať zdrojové kódy

计算流程优化改造

dengsixing 2 mesiacov pred
rodič
commit
08f781caa9

+ 1 - 1
src/main/java/com/fdkankan/contro/controller/SceneFileController.java

@@ -151,7 +151,7 @@ public class SceneFileController{
      */
     @PostMapping("upload")
     public ResultData upload(@RequestParam(value = "file",required = false) MultipartFile file,
-                         String params, String dir) throws Exception {
+                         String params, @RequestParam(value = "dir", defaultValue = "") String dir) throws Exception {
         return sceneFileBuildService.uploadFile(file, params,dir);
     }
 

+ 2 - 2
src/main/java/com/fdkankan/contro/service/impl/SceneFileBuildServiceImpl.java

@@ -906,8 +906,8 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
         ScenePro scenePro = sceneProService.getOne(
             new LambdaQueryWrapper<ScenePro>().like(ScenePro::getDataSource, "/".concat(fileId).concat("/")));
 
-        boolean callV3 = callV3(scenePro, preParams, fdageJson, "api/scene/file/turntableUploadSuccess");
-        if (callV3) return ResultData.ok();
+//        boolean callV3 = callV3(scenePro, preParams, fdageJson, "api/scene/file/turntableUploadSuccess");
+//        if (callV3) return ResultData.ok();
 
         //激光场景校验是否能够计算
         this.checkJgCanBuild(scenePro);