소스 검색

增加计算进度通知

dsx 2 년 전
부모
커밋
8340443d21
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      src/main/java/com/fdkankan/contro/service/impl/SceneFileBuildServiceImpl.java
  2. 1 1
      src/main/resources/bootstrap-local.yml

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

@@ -881,10 +881,10 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
                 HttpUtil.downloadFile(filePath, subFilePath);
             }
         }catch (Exception e){
-            throw new BusinessException(ErrorCode.FAILURE_CODE_5063);
+            throw new BusinessException(ErrorCode.FAILURE_CODE_5063.code(), "原始资源压缩包下载失败");
         }
         if(!FileUtil.exist(localFilePath)){
-            throw new BusinessException(ErrorCode.FAILURE_CODE_5063);
+            throw new BusinessException(ErrorCode.FAILURE_CODE_5063.code(), "zip压缩包不存在");
         }
 
         ScenePre scenePre = new ScenePre();

+ 1 - 1
src/main/resources/bootstrap-local.yml

@@ -2,7 +2,7 @@ spring:
   cloud:
     nacos:
       config:
-        server-addr: 127.0.0.1:8848
+        server-addr: 192.168.0.25:8848
         file-extension: yaml
         namespace: test
         extension-configs: