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