xiewj 1 éve
szülő
commit
eb4606de6a

+ 2 - 2
src/main/java/com/fdkankan/download/service/impl/LaserService.java

@@ -195,8 +195,8 @@ public class LaserService  implements ILaserService {
         }catch (Exception e){
             throw e;
         }finally {
-//            String path=sourceLocal+File.separator+num;
-//            FileUtil.del(path);
+            String path=sourceLocal+File.separator+num;
+            FileUtil.del(path);
         }
         return "";
     }

+ 2 - 1
src/main/resources/application-dev.yml

@@ -89,7 +89,7 @@ zip:
 path:
   v4school: /mnt/scene_download_statics/v4local/
   source-local: /home/backend/downloads/scenes/%s/%s
-  zip-local: /home/backend/downloads/scenes/%s.zip
+  zip-local: I:\offline\downloads\scenes\%s.zip
   zip-root: wwwroot/
   zip-oss: downloads/scenes/%s.zip
   laserschool: I:\offline\school\
@@ -102,6 +102,7 @@ download:
     public-url: https://4dkk.4dage.com/
 #    resource-url: https://4dkankan.oss-cn-shenzhen-internal.aliyuncs.com/
     resource-url: https://4dkankan.oss-cn-shenzhen.aliyuncs.com/
+    laser-resource-url: https://laser-data.oss-cn-shenzhen.aliyuncs.com/
     exe-name: start-browser.bat
     exe-content: | # | 表示不转义特殊字符
       taskkill /f /t /im http.exe

+ 1 - 1
src/main/resources/application-test.yml

@@ -93,7 +93,7 @@ path:
   zip-root: wwwroot/
   zip-oss: downloads/scenes/%s.zip
   laserschool: /mnt/fdkk_laser/uploadPath/offlineGenerate/
-  source-local-laser: /mnt/fdkk_laser/uploadPath/offline
+  source-local-laser: /home/backend/downloads/scenes/laseroffline
 download:
   dir: D:\test2\
   task: ${download.dir}task.txt