cr 3 هفته پیش
والد
کامیت
9b09672ac3

+ 0 - 4
blade-service/blade-manager/src/main/java/org/springblade/manager/controller/ExcelTabController.java

@@ -551,10 +551,6 @@ public class ExcelTabController extends BladeController {
 
         // 复制模版htmlURL
         File file_in = ResourceUtil.getFile(excelTab.getHtmlUrl());
-        Path path = file_in.toPath();
-        String fileUrl = aPrivate.getHtmlUrl();
-        InputStream fileInputStream = FileUtils.getInputStreamByUrl(fileUrl);
-        Files.copy(fileInputStream, path, StandardCopyOption.REPLACE_EXISTING);
         String filecode = SnowFlakeUtil.getId() + "";
         String thmlUrl = file_path + "privateUrlCopy/" + aPrivate.getProjectId()+"/"+filecode + ".html";
         File file_out = ResourceUtil.getFile(thmlUrl);