dengsixing 1 ماه پیش
والد
کامیت
fb269e8ade
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/main/java/com/fdkankan/contro/service/impl/JmgaServiceImpl.java

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

@@ -134,13 +134,13 @@ public class JmgaServiceImpl implements IJmgaService {
                 }
             }
         }
-        if(camType == 6){
+        if(camType == 5){
             String parametersPath = dataSource.concat(File.separator).concat("capture").concat(File.separator).concat("images/parameters.json");
             if(!FileUtil.exist(parametersPath)){
                 throw new BusinessException(ErrorCode.FAILURE_CODE_4001.code(), ErrorCode.FAILURE_CODE_4001.formatMessage("parameters.json"));
             }
 
-            String sfmDataBinPath = dataSource.concat(File.separator).concat("capture").concat(File.separator).concat("result/reconstructio/sfm_data.bin");
+            String sfmDataBinPath = dataSource.concat(File.separator).concat("capture").concat(File.separator).concat("result/reconstruction/sfm_data.bin");
             if(!FileUtil.exist(sfmDataBinPath)){
                 throw new BusinessException(ErrorCode.FAILURE_CODE_4001.code(), ErrorCode.FAILURE_CODE_4001.formatMessage("sfm_data.bin"));
             }