浏览代码

模型下载报错

dengsixing 3 年之前
父节点
当前提交
b98e233a66

+ 1 - 1
4dkankan-center-scene/src/main/java/com/fdkankan/scene/service/impl/SceneProServiceImpl.java

@@ -4883,7 +4883,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
             FileUtils.deleteDirectory(meshPath);
             CreateObjUtil.ossUtilCp(dataViewPath + "mesh", meshPath);
             log.info("meshPath="+meshPath);
-            if(!new File(meshPath.concat("/mesh")).exists()){
+            if(!new File(meshPath).exists()){
                 throw new BusinessException(ErrorCode.FAILURE_CODE_7006);
             }
             log.info(new File(meshPath).listFiles().toString());