Parcourir la source

质检-节点预览

qianxb il y a 5 mois
Parent
commit
23fd374b55

+ 6 - 6
blade-service/blade-manager/src/main/java/org/springblade/manager/utils/FileUtils.java

@@ -404,12 +404,12 @@ public class FileUtils {
         if(fileUrl.indexOf("/www/wwwroot")>=0){
             file_path2 = file_path;
         }
-        File file = new File(fileUrl);
-
-        if(file.exists()){
-            //存在
-            return fileUrl;
-        }
+//        File file = new File(fileUrl);
+//
+//        if(file.exists()){
+//            //存在
+//            return fileUrl;
+//        }
        String path = sys_file_net_url + fileUrl.replaceAll("//", "/").replaceAll(file_path2, "");
         return path;
     }