|
@@ -27,7 +27,7 @@ public class MatterportServiceImpl implements IMatterportService {
|
|
String cmdStr = MatterportConstant.cmd_matterport_download.replace("@num@", param.getSceneCode());
|
|
String cmdStr = MatterportConstant.cmd_matterport_download.replace("@num@", param.getSceneCode());
|
|
CmdUtils.callLine(cmdStr);
|
|
CmdUtils.callLine(cmdStr);
|
|
String logJsonPath = MatterportConstant.workPath + param.getSceneCode() + "/log.json";
|
|
String logJsonPath = MatterportConstant.workPath + param.getSceneCode() + "/log.json";
|
|
- boolean success = ComputerUtil.checkComputeCompleted(logJsonPath, 3, 3);
|
|
|
|
|
|
+ boolean success = ComputerUtil.checkComputeCompleted(logJsonPath, 5, 300);
|
|
if(!success){
|
|
if(!success){
|
|
return ResultData.error(ErrorCode.FAILURE_CODE_5063, "没有生成文件:" + logJsonPath);
|
|
return ResultData.error(ErrorCode.FAILURE_CODE_5063, "没有生成文件:" + logJsonPath);
|
|
}
|
|
}
|