Bläddra i källkod

增加计算进度通知

dsx 2 år sedan
förälder
incheckning
8340443d21

+ 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: